ForgeSdk v0.28.1 ForgeSdk.Rpc.Conn View Source
Persistent gRPC connection to Forge GRPC server.
Link to this section Summary
Functions
The parameters for start_link/3 are
Link to this section Functions
Link to this function
child_spec(args) View Source
Link to this function
close()
View Source
close()
View Source
close() :: any()
close() :: any()
Link to this function
get_chan()
View Source
get_chan()
View Source
get_chan() :: GRPC.Channel.t() | {:error, :closed}
get_chan() :: GRPC.Channel.t() | {:error, :closed}
Link to this function
start_link(addr, opts, callback)
View Source
start_link(addr, opts, callback)
View Source
start_link(String.t(), Keyword.t(), (() -> any())) :: GenServer.on_start()
start_link(String.t(), Keyword.t(), (() -> any())) :: GenServer.on_start()
The parameters for start_link/3 are:
addr
- the address of gRPC server inhost:port
formatopts
- the options for gRPC http2 clientgun
callback
- the 0 arity function to be called when gRPC connection is established