evhttp_set_gencb

Set a callback for all requests that are not caught by specific callbacks

Invokes the specified callback for all requests that do not match any of the previously specified request paths. This is catchall for requests not specifically configured with evhttp_set_cb().

@param http the evhttp server object for which to set the callback @param cb the callback to invoke for any unmatched requests @param arg an context argument for the callback

extern (C) nothrow
void
evhttp_set_gencb
(,
ExternC!(void function) cb
,
void* arg
)

Meta