error_code() = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13
stream_id() = non_neg_integer()
| get_response/2 | |
| send_ping/1 | |
| send_request/3 | |
| start/4 | |
| start_link/0 | |
| start_link/2 | |
| start_link/3 | |
| start_link/4 | |
| start_ssl_upgrade_link/4 | |
| stop/1 | |
| sync_request/3 |
get_response(CliPid::pid(), StreamId::stream_id()) -> {ok, {hpack:header(), iodata()}} | not_ready | {error, term()}
send_ping(CliPid) -> any()
send_request(CliPid, Headers, Body) -> Result
CliPid = pid()Headers = hpack:headers()Body = binary()Result = {ok, stream_id()} | {error, error_code()}
start(Transport::http | https, Host::string(), Port::non_neg_integer(), SSLOptions::[ssl:ssl_option()]) -> {ok, pid()} | ignore | {error, term()}
start_link() -> {ok, pid()} | ignore | {error, any()}
start_link(X1::http | https, Host::string()) -> {ok, pid()} | ignore | {error, term()}
start_link(X1::http | https, Host::string(), Port::non_neg_integer() | [ssl:ssl_option()]) -> {ok, pid()} | ignore | {error, term()}
start_link(Transport::http | https, Host::string(), Port::non_neg_integer(), SSLOptions::[ssl:ssl_option()]) -> {ok, pid()} | ignore | {error, term()}
start_ssl_upgrade_link(Host, Port, InitialMessage, SSLOptions) -> any()
stop(Pid::pid()) -> ok
sync_request(CliPid, Headers, Body) -> Result
CliPid = pid()Headers = hpack:headers()Body = binary()Result = {ok, {hpack:headers(), iodata()}} | {error, error_code() | timeout}
Generated by EDoc