ForgeSdk v0.40.5 ForgeSdk.RpcConn 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
close(name) View Source
Link to this function
get_config(name) View Source
Link to this function
get_conn(name)
View Source
get_conn(name)
View Source
get_conn(atom()) :: ForgeSdk.Conn.t() | {:error, :closed}
get_conn(atom()) :: ForgeSdk.Conn.t() | {:error, :closed}
Link to this function
start_link(name, endpoint, opts, callback)
View Source
start_link(name, endpoint, opts, callback)
View Source
start_link(atom(), String.t(), Keyword.t(), (() -> any()) | nil) ::
GenServer.on_start()
start_link(atom(), String.t(), Keyword.t(), (() -> any()) | nil) :: GenServer.on_start()
The parameters for start_link/3 are:
endpoint
- 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
Link to this function
update_config(name, config) View Source
Link to this function