ProtocolUpgrade
abstract class ProtocolUpgrade : OutgoingContent
Variant of a OutgoingContent for upgrading an HTTP connection
Constructors
ProtocolUpgrade() Variant of a OutgoingContent for upgrading an HTTP connection |
Properties
val status: HttpStatusCode? Status code to set when sending this content |
Inherited Properties
open val contentLength: Long? Specifies content length in bytes for this resource. |
|
open val contentType: ContentType? Specifies ContentType for this resource. |
|
open val headers: Headers Headers to set when sending this content |
Functions
abstract suspend fun upgrade( Upgrades an HTTP connection |
Inherited Functions
open fun <T : Any> getProperty(key: AttributeKey<T>): T? Gets an extension property for this content |
|
open fun <T : Any> setProperty( Sets an extension property for this content |
Inheritors
class WebSocketUpgrade : ProtocolUpgrade An OutgoingContent response object that could be used to |