Interface Response.BeginListener

    • Method Detail

      • onBegin

        void onBegin​(Response response)
        Deprecated.
        Callback method invoked when the response line containing HTTP version, HTTP status code and reason has been received and parsed.

        This method is the best approximation to detect when the first bytes of the response arrived to the client.

        Parameters:
        response - the response containing the response line data