Websocket
func Websocket(backend string) errorWebsocket passes the WebSocket directly to a backend.
This can only be used on services that have the WebSockets feature enabled and on requests that are valid WebSocket requests. The sending completes in the background.
Once this method has been called, no other response can be sent to this request, and the application can exit without affecting the send.
Parameters
- backend: string
Returns
error