grpc.types.wrappers
Modules
ballerina/grpc.types.wrappers Ballerina library
Overview
This module provides APIs to represent google/protobuf/wrappers.proto
types as a stream.
Classes
grpc.types.wrappers: BooleanStream
Represents a stream of booleans.
next
Retrieve the next value of the stream.
Return Type
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: BytesStream
Represents a stream of bytes.
next
function next() returns record {| value byte[] |}|Error?
Retrieve the next value of the stream.
Return Type
- record {| value byte[] |}|Error? - Returns the next value of the stream or else an error
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: FloatStream
Represents a stream of floats.
next
Retrieve the next value of the stream.
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: IntStream
Represents a stream of integers.
next
Retrieve the next value of the stream.
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: StringStream
Represents a stream of strings.
next
Retrieve the next value of the stream.
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
Import
import ballerina/grpc.types.wrappers;
Metadata
Released date: over 2 years ago
Version: 1.2.3
License: Apache-2.0
Compatibility
Platform: java11
Ballerina version: 2201.0.4
Pull count
Total: 46564
Current verison: 166
Weekly downloads
Keywords
network
grpc
protobuf
server-streaming
client-streaming
bidirectional-streaming
Contributors