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![](/images/permalink.svg)
grpc.types.wrappers: BooleanStream![](/images/permalink.svg)
Represents a stream of booleans.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
Return Type
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: BytesStream![](/images/permalink.svg)
Represents a stream of bytes.
next![](/images/permalink.svg)
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![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: FloatStream![](/images/permalink.svg)
Represents a stream of floats.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: IntStream![](/images/permalink.svg)
Represents a stream of integers.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: StringStream![](/images/permalink.svg)
Represents a stream of strings.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
close![](/images/permalink.svg)
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.1.2
License: Apache-2.0
Compatibility
Platform: java11
Ballerina version: slbeta6
Pull count
Total: 43301
Current verison: 446
Weekly downloads
Keywords
network
grpc
protobuf
server-streaming
client-streaming
bidirectional-streaming
Contributors