evhttp_accept_socket_with_handle

Like evhttp_accept_socket(), but returns a handle for referencing the socket.

The returned pointer is not valid after \a http is freed.

@param http a pointer to an evhttp object @param fd a socket fd that is ready for accepting connections @return Handle for the socket on success, NULL on failure. @see evhttp_accept_socket(), evhttp_del_accept_socket()

extern (C) nothrow
evhttp_accept_socket_with_handle

Meta