References
call_opts() = #{hackney_opts => [hackney_option()], compression_threshold => non_neg_integer(), connect_timeout => timeout(), decode_unsafe_terms => boolean(), max_encoded_result_size => non_neg_integer(), recv_timeout => timeout(), rethrow_remote_exceptions => boolean()}
call_result() = backwater_response:t(hackney_error())
clear_opt() = ranch:opt() | ranch_tcp:opt()
clear_opts() = [clear_opt()] | ranch:opts()
hackney_error() = {hackney, term()}
hackney_option() = proplists:property()
http_opts() = cowboy_http:opts()
stack_item() = {Module::module(), Function::atom(), Arity::arity() | (Args::[term()]), Location::[{file, Filename::string()} | {line, Line::pos_integer()}]}
tls_opt() = ranch:opt() | ranch_ssl:opt()
tls_opts() = [tls_opt()] | ranch:opts()
call/4 | Performs remote call on Endpoint . |
call/5 | Performs remote call on Endpoint . |
start_clear_server/2 | Starts a cleartext cowboy listener that can handle remote calls. |
start_clear_server/4 | Like :start_clear_server/2 but one can specify the listener name and tune settings. |
start_tls_server/3 | Starts a TLS cowboy listener that can handle remote calls. |
start_tls_server/4 | Like :start_tls_server/3 but one can specify the listener name and tune (more) settings. |
stop_server/0 | Stops the cowboy listener under the default name. |
stop_server/1 | Stops the cowboy listener under a specific name. |
call(Endpoint, Module, Function, Args) -> Result | no_return()
Performs remote call on Endpoint
.
{ok, ReturnValue}
in case of success{error, term()}
otherwise.See also: call/5.
call(Endpoint, Module, Function, Args, Options) -> Result | no_return()
Performs remote call on Endpoint
.
{ok, ReturnValue}
in case of success{error, term()}
otherwise.See also: call/4.
start_clear_server(Secret, ExposedModules) -> {ok, pid()} | {error, term()}
Starts a cleartext cowboy listener that can handle remote calls.
Returns:{ok, ServerPid}
in case of success{error, term()}
otherwise.See also: start_clear_server/4.
start_clear_server(Ref, Secret, ExposedModules, Opts) -> {ok, pid()} | {error, term()}
Like :start_clear_server/2
but one can specify the listener name and tune settings.
{ok, ServerPid}
in case of success{error, term()}
otherwise.See also: start_clear_server/2.
start_tls_server(Secret, ExposedModules, TLSOpts) -> {ok, pid()} | {error, term()}
Starts a TLS cowboy listener that can handle remote calls.
Returns:{ok, ServerPid}
in case of success{error, term()}
otherwise.See also: start_tls_server/4.
start_tls_server(Ref, Secret, ExposedModules, Opts) -> {ok, pid()} | {error, term()}
Like :start_tls_server/3
but one can specify the listener name and tune (more) settings.
{ok, ServerPid}
in case of success{error, term()}
otherwise.See also: start_tls_server/3.
stop_server() -> ok | {error, not_found}
Stops the cowboy listener under the default name.
stop_server(Ref) -> ok | {error, not_found}
Stops the cowboy listener under a specific name.
Generated by EDoc