Module h2_client

Function Index

get_response/2
send_request/3
start_link/0
start_link/2
start_link/3
start_link/4
start_ssl_upgrade_link/4
stop/1
sync_request/3

Function Details

get_response/2

get_response(CliPid::pid(), StreamId::stream_id()) -> {ok, {hpack:header(), iodata()}} | {error, term()}

send_request/3

send_request(CliPid, Headers, Body) -> any()

start_link/0

start_link() -> {ok, pid()} | ignore | {error, any()}

start_link/2

start_link(X1::http | https, Host::string()) -> {ok, pid()} | ignore | {error, term()}

start_link/3

start_link(X1::http | https, Host::string(), Port::non_neg_integer() | [ssl:ssl_option()]) -> {ok, pid()} | ignore | {error, term()}

start_link/4

start_link(Transport::http | https, Host::string(), Port::non_neg_integer(), SSLOptions::[ssl:ssl_option()]) -> {ok, pid()} | ignore | {error, term()}

start_ssl_upgrade_link/4

start_ssl_upgrade_link(Host, Port, InitialMessage, SSLOptions) -> any()

stop/1

stop(Pid::pid()) -> ok

sync_request/3

sync_request(CliPid, Headers, Body) -> any()


Generated by EDoc, Jan 15 2017, 13:36:46.