Class ResponseCancelEvent

  • All Implemented Interfaces:

    
    public final class ResponseCancelEvent
    
                        

    Send this event to cancel an in-progress response. The server will respond with a response.done event with a status of response.status=cancelled. If there is no response to cancel, the server will respond with an error. It's safe to call response.cancel even if no response is in progress, an error will be returned the session will remain unaffected.