|
pars 0.2.1
|
Represents the options that can be configured for a given socket. More...
#include <socket_opt.h>
Public Attributes | |
nng_socket Options | |
| std::optional< nng_duration > | recv_timeout |
| NNG_OPT_RECVTIMEO. | |
| std::optional< nng_duration > | send_timeout |
| NNG_OPT_SENDTIMEO. | |
nng_req Options | |
| std::optional< nng_duration > | req_resend_time |
| NNG_OPT_REQ_RESENDTIME. | |
| std::optional< nng_duration > | req_resend_tick |
| NNG_OPT_REQ_RESENDTICK. | |
Represents the options that can be configured for a given socket.
These can be nng_options for an nng_socket, or they can be options of the nng_req protocol.
Definition at line 47 of file socket_opt.h.
| std::optional<nng_duration> pars::net::socket_opt::recv_timeout |
NNG_OPT_RECVTIMEO.
Definition at line 51 of file socket_opt.h.
Referenced by pars::net::socket::set_options().
| std::optional<nng_duration> pars::net::socket_opt::req_resend_tick |
NNG_OPT_REQ_RESENDTICK.
Definition at line 57 of file socket_opt.h.
Referenced by pars::net::socket::set_options().
| std::optional<nng_duration> pars::net::socket_opt::req_resend_time |
NNG_OPT_REQ_RESENDTIME.
Definition at line 56 of file socket_opt.h.
Referenced by pars::net::socket::set_options().
| std::optional<nng_duration> pars::net::socket_opt::send_timeout |
NNG_OPT_SENDTIMEO.
Definition at line 52 of file socket_opt.h.
Referenced by pars::net::socket::set_options().