Scoop API

scoop:scoop.http.client:0.1.0

HttpWebSocketRequest

class HttpWebSocketRequest

source · line 14
public
public class HttpWebSocketRequest internal constructor(
    /**
     * The validated ws or wss URL without a fragment.
     */
    public val url: Url,
    fields: List<HttpField> = emptyList<HttpField>(),
    /**
         * HTTP call policy used during the handshake.
         */
    public val options: HttpCallOptions = httpCallOptions()
)

A ws/wss upgrade request without URL fragment or request body. Handshake-specific fields are managed by the client.

Extensions

property url

source · line 18
public
public val url: Url

get: public read-only

The validated ws or wss URL without a fragment.

property options

source · line 23
public
public val options: HttpCallOptions = httpCallOptions()

get: public read-only

HTTP call policy used during the handshake.