GrpcOptions class

The GrpcOptions class is the gRPC transport options.

Constructors

GrpcOptions({required int port, CodecRegistry? codecRegistry, ServerKeepAliveOptions keepAliveOptions = const ServerKeepAliveOptions(), InternetAddress? host, ServerCredentials? security})
Creates gRPC transport options.
const

Properties

codecRegistry → CodecRegistry?
The codec registry for gRPC.
final
hashCode int
The hash code for this object.
no setterinherited
host InternetAddress?
The host address for the gRPC server.
final
keepAliveOptions → ServerKeepAliveOptions
The keep-alive options for the gRPC server.
final
port int
The port number for the transport.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
security → ServerCredentials?
The security credentials for the gRPC server.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited