Interface Request.HeadersListener

    • Method Detail

      • onHeaders

        void onHeaders​(Request request)
        Callback method invoked when the request headers (and perhaps small content) are ready to be sent. The request has been converted into bytes, but not yet sent to the server, and further modifications to the request may have no effect.
        Parameters:
        request - the request that is about to be committed