Skip to content

GrpcUtils

Dan M edited this page Mar 28, 2022 · 2 revisions

Currently an incredibly simple wrapper that provides a ClientChannel.

API

Static Methods

static ClientChannel getChannel({String host = '10.0.2.2', int port = 5154, ChannelOptions options = const ChannelOptions(credentials: ChannelCredentials.insecure())})

Returns a ClientChannel with the given settings. 10.0.2.2 is the equivalent of localhost for an AVD, hence it being the default.

Clone this wiki locally