hackney_connect (hackney v1.24.0)

View Source

Summary

Functions

close the client

create a connection and return a client state

get current pool pid or name used by a client if needed

connect a socket and create a client state.

get the address and port for the other end of current connection in the client

add set sockets options in the client

the local address and port of current socket in the client

Functions

check_or_close(Client)

close(Client)

close the client

connect(Transport, Host, Port)

connect(Transport, Host, Port, Options)

connect(Transport, Host, Port, Options, Dynamic)

create_connection(Transport, Host, Port, Options)

create a connection and return a client state

create_connection(Transport, Host, Port, Options, Dynamic)

is_pool(Client)

get current pool pid or name used by a client if needed

maybe_connect(Client)

connect a socket and create a client state.

peername(Client)

get the address and port for the other end of current connection in the client

reconnect(Host, Port, Transport, State)

set_sockopts(Client, Options)

add set sockets options in the client

sockname(Client)

the local address and port of current socket in the client