class ConnectionOptions
Represents a parsed Connection
header
ConnectionOptions(close: Boolean = false, keepAlive: Boolean = false, upgrade: Boolean = false, extraOptions: List<String> = emptyList())
Represents a parsed |
val close: Boolean
|
|
val extraOptions: List<String>
a list of extra connection header options other than close, keep-alive and upgrade |
|
val keepAlive: Boolean
|
|
val upgrade: Boolean
|
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun toString(): String |
val Close: ConnectionOptions
An instance for |
|
val KeepAlive: ConnectionOptions
An instance for |
|
val Upgrade: ConnectionOptions
An instance for |
fun parse(connection: CharSequence?): ConnectionOptions?
Parse |