Websocket

Functionin handoffcompute-sdk-go v1.11.0View source
func Websocket(backend string) error

Websocket 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