exception documentation
class WebsocketMismatch(BadRequest): (source)
The only matched rule is either a WebSocket and the request is HTTP, or the rule is HTTP and the request is a WebSocket.
Inherited from BadRequest
:
Class Variable | code |
Undocumented |
Class Variable | description |
Undocumented |
Inherited from HTTPException
(via BadRequest
):
Method | __call__ |
Call the exception as WSGI application. |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | get |
Get the HTML body. |
Method | get |
Get the description. |
Method | get |
Get a list of headers. |
Method | get |
Get a response object. If one was passed to the exception it's returned directly. |
Instance Variable | response |
Undocumented |
Property | name |
The status name. |