WebSocketContent
class WebSocketContent : ClientUpgradeContent
Constructors
WebSocketContent() |
Properties
val headers: Headers Headers to set when sending this content |
Inherited Properties
val output: ByteWriteChannel |
Functions
Inherited Functions
suspend fun pipeTo(output: ByteWriteChannel): Unit |
Extension Properties
var OutgoingContent.caching: CachingOptions? Gets or sets CacheControl instance as an extension property on this content |
|
val OutgoingContent.defaultVersions: List<Version> Retrieves LastModified and ETag versions from this OutgoingContent headers |
|
var OutgoingContent.versions: List<Version> Gets or sets list of Version instances as an extension property on this content |
Extension Functions
fun OutgoingContent.wrapHeaders( Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block. |