class HttpWebSocketRequest
source · line 14public
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
public fun HttpWebSocketRequest.copy(configure: HttpWebSocketRequestBuilder.() -> Unit = {}): HttpWebSocketRequest· scoop:scoop.http.client:0.1.0
property url
source · line 18public
public val url: Url
get: public read-only
The validated ws or wss URL without a fragment.
property fields
source · line 28public
public val fields: Array<HttpField>
get: public read-only
Copied caller fields for the upgrade request.
property options
source · line 23public
public val options: HttpCallOptions = httpCallOptions()
get: public read-only
HTTP call policy used during the handshake.