Function

handle

This function is invoked with an outgoing HTTP Request, and it returns a resource future-incoming-response which represents an HTTP Response which may arrive in the future.

handle: func(request: outgoing-request, options: option​<request-options>) -> result​<future-incoming-response, error-code>;