- cancel() - Method in class io.ktor.http.cio.internals.WeakTimeoutQueue
-
Cancel all registered timeouts
- CharArrayPoolKt - Class in io.ktor.http.cio.internals
-
- CharsJvmKt - Class in io.ktor.http.cio.internals
-
- CharsKt - Class in io.ktor.http.cio.internals
-
- ChunkedTransferEncodingKt - Class in io.ktor.http.cio
-
- CIOHeaders - Class in io.ktor.http.cio
-
An adapter from CIO low-level headers map to ktor Headers interface
- CIOHeaders(headers) - Constructor for class io.ktor.http.cio.CIOHeaders
-
An adapter from CIO low-level headers map to ktor Headers interface
- CIOMultipartDataBase - Class in io.ktor.http.cio
-
Represents a multipart data object that does parse and convert parts to ktor's PartData
- CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit, inMemoryFileUploadLimit) - Constructor for class io.ktor.http.cio.CIOMultipartDataBase
-
Represents a multipart data object that does parse and convert parts to ktor's PartData
- close() - Method in class io.ktor.http.cio.HttpMessage
-
Release all memory resources hold by this message
- close(cause, p) - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Close session with the specified cause or with no reason if null
- Close(buffer) - Constructor for class io.ktor.http.cio.websocket.Frame.Close
-
Represents a low-level level close frame. It could be sent to indicate web socket session end.
Usually there is no need to send/handle it unless you have a RAW web socket session.
- Close(reason) - Constructor for class io.ktor.http.cio.websocket.Frame.Close
-
- Close(packet) - Constructor for class io.ktor.http.cio.websocket.Frame.Close
-
- Close() - Constructor for class io.ktor.http.cio.websocket.Frame.Close
-
- close(cause, p) - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
Close session with the specified cause or with no reason if null
- close(cause, p) - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Close session with the specified cause or with no reason if null
- close($receiver, reason, p) - Static method in class io.ktor.http.cio.websocket.WebSocketSessionKt
-
Send a close frame with the specified reason. May suspend if outgoing channel is full or
may throw an exception if it is already closed. The specified reason could be ignored if there was already
close frame sent (for example in reply to a peer close frame).
- close() - Method in class io.ktor.http.cio.websocket.WebSocketWriter
-
Closes the message queue
- CloseReason - Class in io.ktor.http.cio.websocket
-
Websocket close reason
- CloseReason(code, message) - Constructor for class io.ktor.http.cio.websocket.CloseReason
-
Websocket close reason
- CloseReason(code, message) - Constructor for class io.ktor.http.cio.websocket.CloseReason
-
- CloseReason.Codes - Enum in io.ktor.http.cio.websocket
-
Standard close reason codes
- Codes(code) - Constructor for enum io.ktor.http.cio.websocket.CloseReason.Codes
-
Standard close reason codes
- Codes.Companion - Class in io.ktor.http.cio.websocket
-
- Companion - Static variable in class io.ktor.http.cio.ConnectionOptions
-
- Companion - Static variable in enum io.ktor.http.cio.websocket.CloseReason.Codes
-
- Companion - Static variable in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
- Companion - Static variable in class io.ktor.http.cio.websocket.Frame
-
- Companion - Static variable in enum io.ktor.http.cio.websocket.FrameType
-
- component1() - Method in class io.ktor.http.cio.websocket.CloseReason
-
- component2() - Method in class io.ktor.http.cio.websocket.CloseReason
-
a close reason message, could be empty
- ConnectionOptions - Class in io.ktor.http.cio
-
Represents a parsed Connection header
- ConnectionOptions(close, keepAlive, upgrade, extraOptions) - Constructor for class io.ktor.http.cio.ConnectionOptions
-
Represents a parsed Connection header
- ConnectionOptions() - Constructor for class io.ktor.http.cio.ConnectionOptions
-
Represents a parsed Connection header
- ConnectionOptions.Companion - Class in io.ktor.http.cio
-
- copy(code, message) - Method in class io.ktor.http.cio.websocket.CloseReason
-
Websocket close reason
- copy() - Method in class io.ktor.http.cio.websocket.Frame
-
Creates a frame copy
- copyMultipart(headers, input, out, p) - Static method in class io.ktor.http.cio.MultipartKt
-
Deprecated.
- get(name) - Method in class io.ktor.http.cio.CIOHeaders
-
- get(name) - Method in class io.ktor.http.cio.HttpHeadersMap
-
- get(opcode) - Method in class io.ktor.http.cio.websocket.FrameType.Companion
-
- getAll(name) - Method in class io.ktor.http.cio.CIOHeaders
-
- getAll(name) - Method in class io.ktor.http.cio.HttpHeadersMap
-
- getBody() - Method in class io.ktor.http.cio.MultipartEvent.Epilogue
-
contains epilogue
- getBody() - Method in class io.ktor.http.cio.MultipartEvent.MultipartPart
-
a channel of part content
- getBody() - Method in class io.ktor.http.cio.MultipartEvent.Preamble
-
contains preamble
- getBodyReady() - Method in class io.ktor.http.cio.websocket.FrameParser
-
- getBuffer() - Method in class io.ktor.http.cio.websocket.Frame
-
a frame content or fragment content
- getCaseInsensitiveName() - Method in class io.ktor.http.cio.CIOHeaders
-
- getClose() - Method in class io.ktor.http.cio.ConnectionOptions.Companion
-
An instance for Connection: close
- getClose() - Method in class io.ktor.http.cio.ConnectionOptions
-
true
- getCloseReason() - Method in interface io.ktor.http.cio.websocket.DefaultWebSocketSession
-
A close reason for this session. It could be null if a session is terminated with no close reason
(for example due to connection failure).
- getCloseReason() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
A close reason for this session. It could be null if a session is terminated with no close reason
(for example due to connection failure).
- getCode() - Method in enum io.ktor.http.cio.websocket.CloseReason.Codes
-
- getCode() - Method in class io.ktor.http.cio.websocket.CloseReason
-
- getControlFrame() - Method in enum io.ktor.http.cio.websocket.FrameType
-
if this is control frame type
- getCoroutineContext() - Method in class io.ktor.http.cio.CIOMultipartDataBase
-
- getCoroutineContext() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
- getCoroutineContext() - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
- getCoroutineContext() - Method in class io.ktor.http.cio.websocket.WebSocketReader
-
- getCoroutineContext() - Method in class io.ktor.http.cio.websocket.WebSocketWriter
-
- getDefaultByteBufferPool() - Static method in class io.ktor.http.cio.internals.HttpByteBufferPoolKt
-
- getDispatcher() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Deprecated.
- getDispatcher($this) - Static method in class io.ktor.http.cio.websocket.WebSocketSession.DefaultImpls
-
Deprecated.
- getDispatcher() - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Deprecated.
- getDisposableHandle() - Method in class io.ktor.http.cio.websocket.Frame
-
could be invoked when the frame is processed
- getEnd() - Method in class io.ktor.http.cio.internals.MutableRange
-
points to the next character after the last one
- getExtraOptions() - Method in class io.ktor.http.cio.ConnectionOptions
-
a list of extra connection header options other than close,
- getFin() - Method in class io.ktor.http.cio.websocket.Frame
-
is it final fragment,
- getFin() - Method in class io.ktor.http.cio.websocket.FrameParser
-
- getFrameSize() - Method in exception io.ktor.http.cio.websocket.WebSocketReader.FrameTooBigException
-
size of received or posted frame that is too big
- getFrameType() - Method in class io.ktor.http.cio.websocket.Frame
-
enum value
- getFrameType() - Method in class io.ktor.http.cio.websocket.FrameParser
-
- getHasOutstandingBytes() - Method in class io.ktor.http.cio.websocket.Serializer
-
- getHasRemaining() - Method in class io.ktor.http.cio.websocket.SimpleFrameCollector
-
- getHeaders() - Method in class io.ktor.http.cio.HttpMessage
-
request/response headers
- getHeaders() - Method in class io.ktor.http.cio.MultipartEvent.MultipartPart
-
deferred that will be completed once will be parsed
- getHttpPipelineCoroutine() - Static method in class io.ktor.http.cio.PipelineKt
-
HTTP pipeline coroutine name
- getHttpPipelineWriterCoroutine() - Static method in class io.ktor.http.cio.PipelineKt
-
HTTP pipeline writer coroutine name
- getIncoming() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Incoming frames channel
- getIncoming() - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
Incoming frames channel
- getIncoming() - Method in class io.ktor.http.cio.websocket.WebSocketReader
-
Channel receiving Websocket's
class Frame objects read from byteChannel.
- getIncoming() - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Incoming frames channel
- getKeepAlive() - Method in class io.ktor.http.cio.ConnectionOptions.Companion
-
An instance for Connection: keep-alive
- getKeepAlive() - Method in class io.ktor.http.cio.ConnectionOptions
-
true
- getKnownReason() - Method in class io.ktor.http.cio.websocket.CloseReason
-
- getLength() - Method in class io.ktor.http.cio.websocket.FrameParser
-
- getMask() - Method in class io.ktor.http.cio.websocket.FrameParser
-
- getMasking() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Enable or disable masking output messages by a random xor mask.
Please note that changing this flag on the fly could be applied to the messages already sent (enqueued earlier)
as the sending pipeline works asynchronously
- getMasking() - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
Enable or disable masking output messages by a random xor mask.
Please note that changing this flag on the fly could be applied to the messages already sent (enqueued earlier)
as the sending pipeline works asynchronously
- getMasking() - Method in class io.ktor.http.cio.websocket.Serializer
-
- getMasking() - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Enable or disable masking output messages by a random xor mask.
Please note that changing this flag on the fly could be applied to the messages already sent (enqueued earlier)
as the sending pipeline works asynchronously
- getMasking() - Method in class io.ktor.http.cio.websocket.WebSocketWriter
-
Whether it will mask serialized frames.
- getMaskKey() - Method in class io.ktor.http.cio.websocket.FrameParser
-
- getMaxFrameSize() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Specifies frame size limit. Connection will be closed if violated
- getMaxFrameSize() - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
Specifies frame size limit. Connection will be closed if violated
- getMaxFrameSize() - Method in class io.ktor.http.cio.websocket.WebSocketReader
-
maximum frame size that could be read
- getMaxFrameSize() - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Specifies frame size limit. Connection will be closed if violated
- getMessage() - Method in class io.ktor.http.cio.websocket.CloseReason
-
a close reason message, could be empty
- getMessage() - Method in exception io.ktor.http.cio.websocket.WebSocketReader.FrameTooBigException
-
- getMethod() - Method in class io.ktor.http.cio.Request
-
- getOpcode() - Method in enum io.ktor.http.cio.websocket.FrameType
-
frame type id that is used to transport it
- getOutgoing() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Outgoing frames channel. It could have limited capacity so sending too much frames may lead to suspension at
corresponding send invocations. It also may suspend if a peer doesn't read frames for some reason.
- getOutgoing() - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
Outgoing frames channel. It could have limited capacity so sending too much frames may lead to suspension at
corresponding send invocations. It also may suspend if a peer doesn't read frames for some reason.
- getOutgoing() - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Outgoing frames channel. It could have limited capacity so sending too much frames may lead to suspension at
corresponding send invocations. It also may suspend if a peer doesn't read frames for some reason.
- getOutgoing() - Method in class io.ktor.http.cio.websocket.WebSocketWriter
-
Channel for sending Websocket's
class Frame that will be serialized and written to writeChannel.
- getPingIntervalMillis() - Method in interface io.ktor.http.cio.websocket.DefaultWebSocketSession
-
Ping interval or -1L to disable pinger. Please note that pongs will be handled despite of this setting.
- getPingIntervalMillis() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Ping interval or -1L to disable pinger. Please note that pongs will be handled despite of this setting.
- getPool() - Method in class io.ktor.http.cio.websocket.WebSocketWriter
-
ByteBuffer pool to be used by this writer
- getRemainingCapacity() - Method in class io.ktor.http.cio.websocket.Serializer
-
- getRequestHandlerCoroutine() - Static method in class io.ktor.http.cio.PipelineKt
-
HTTP request handler coroutine name
- getSize() - Method in class io.ktor.http.cio.HttpHeadersMap
-
- getStart() - Method in class io.ktor.http.cio.internals.MutableRange
-
points to the first character
- getStatus() - Method in class io.ktor.http.cio.Response
-
- getStatusText() - Method in class io.ktor.http.cio.Response
-
- getTimeoutMillis() - Method in class io.ktor.http.cio.internals.WeakTimeoutQueue
-
- getTimeoutMillis() - Method in interface io.ktor.http.cio.websocket.DefaultWebSocketSession
-
- getTimeoutMillis() - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
A timeout to wait for pong reply to ping otherwise the session will be terminated immediately.
- getUpgrade() - Method in class io.ktor.http.cio.ConnectionOptions.Companion
-
An instance for Connection: upgrade
- getUpgrade() - Method in class io.ktor.http.cio.ConnectionOptions
-
true
- getUri() - Method in class io.ktor.http.cio.Request
-
- getVersion() - Method in class io.ktor.http.cio.Request
-
- getVersion() - Method in class io.ktor.http.cio.Response
-
- goingAway(message, p) - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Close session with GOING_AWAY reason
- parse(connection) - Method in class io.ktor.http.cio.ConnectionOptions.Companion
-
Parse Connection header value
- parseBoundary(contentType) - Static method in class io.ktor.http.cio.MultipartKt
-
Parse multipart boundary encoded in contentType header value
- parseHeaders(input, p) - Static method in class io.ktor.http.cio.HttpParserKt
-
Parse http headers. Not applicable to request and response status lines.
- parseHttpBody(contentLength, transferEncoding, connectionOptions, input, out, p) - Static method in class io.ktor.http.cio.HttpBodyKt
-
Parse HTTP request or response body using contentLength, transferEncoding and connectionOptions
writing it to out. Usually doesn't fail but closing out channel with error.
- parseHttpBody(headers, input, out, p) - Static method in class io.ktor.http.cio.HttpBodyKt
-
Parse HTTP request or response body using request/response's headers
writing it to out. Usually doesn't fail but closing out channel with error.
- parseMultipart(coroutineContext, input, headers) - Static method in class io.ktor.http.cio.MultipartKt
-
Deprecated.
- parseMultipart($receiver, input, headers) - Static method in class io.ktor.http.cio.MultipartKt
-
Starts a multipart parser coroutine producing multipart events
- parseMultipart(coroutineContext, input, contentType, contentLength) - Static method in class io.ktor.http.cio.MultipartKt
-
Deprecated.
- parseMultipart($receiver, input, contentType, contentLength) - Static method in class io.ktor.http.cio.MultipartKt
-
Starts a multipart parser coroutine producing multipart events
- parseMultipart(coroutineContext, boundaryPrefixed, input, totalLength) - Static method in class io.ktor.http.cio.MultipartKt
-
Deprecated.
- parseMultipart($receiver, boundaryPrefixed, input, totalLength) - Static method in class io.ktor.http.cio.MultipartKt
-
Starts a multipart parser coroutine producing multipart events
- parsePart(boundaryPrefixed, input, output, limit, p) - Static method in class io.ktor.http.cio.MultipartKt
-
Parse multipart part headers and body. Body bytes will be copied to output but up to limit bytes
- parsePartBody(boundaryPrefixed, input, output, headers, limit, p) - Static method in class io.ktor.http.cio.MultipartKt
-
Parse multipart part body copying them to output channel but up to limit bytes
- parsePartHeaders(input, p) - Static method in class io.ktor.http.cio.MultipartKt
-
Parse multipart part headers
- parsePreamble(boundaryPrefixed, input, output, limit, p) - Static method in class io.ktor.http.cio.MultipartKt
-
Parse a multipart preamble
- parseRequest(input, p) - Static method in class io.ktor.http.cio.HttpParserKt
-
Parse an HTTP request line and headers
- parseResponse(input, p) - Static method in class io.ktor.http.cio.HttpParserKt
-
Parse an HTTP response status line and headers
- ParserException - Exception in io.ktor.http.cio
-
An HTTP parser exception
- ParserException(message) - Constructor for exception io.ktor.http.cio.ParserException
-
An HTTP parser exception
- Ping(buffer) - Constructor for class io.ktor.http.cio.websocket.Frame.Ping
-
Represents a low-level ping frame. Could be sent to test connection (peer should reply with
class Frame.Pong).
Usually there is no need to send/handle it unless you have a RAW web socket session.
- Ping(packet) - Constructor for class io.ktor.http.cio.websocket.Frame.Ping
-
- pinger($receiver, outgoing, periodMillis, timeoutMillis, pool) - Static method in class io.ktor.http.cio.websocket.PingPongKt
-
Launch pinger coroutine on CoroutineScope that is sending ping every specified periodMillis to outgoing channel,
waiting for and verifying client's pong frames. It is also handling timeoutMillis and sending timeout close frame
- PingPongKt - Class in io.ktor.http.cio.websocket
-
- PipelineKt - Class in io.ktor.http.cio
-
- Pong(buffer, disposableHandle) - Constructor for class io.ktor.http.cio.websocket.Frame.Pong
-
Represents a low-level pong frame. Should be sent in reply to a
class Frame.Ping frame.
Usually there is no need to send/handle it unless you have a RAW web socket session.
- Pong(buffer) - Constructor for class io.ktor.http.cio.websocket.Frame.Pong
-
- Pong(packet) - Constructor for class io.ktor.http.cio.websocket.Frame.Pong
-
- ponger(session, pool) - Static method in class io.ktor.http.cio.websocket.PingPongKt
-
Deprecated.
- ponger($receiver, outgoing, pool) - Static method in class io.ktor.http.cio.websocket.PingPongKt
-
Launch a ponger actor job on the CoroutineScope sending pongs to outgoing channel.
It is acting for every client's ping frame and replying with corresponding pong
- Preamble(body) - Constructor for class io.ktor.http.cio.MultipartEvent.Preamble
-
Represents a multipart content preamble. A multipart stream could have at most one preamble.
- process() - Method in class io.ktor.http.cio.internals.WeakTimeoutQueue
-
Process and cancel all jobs that are timed out
- put(nameHash, valueHash, nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) - Method in class io.ktor.http.cio.HttpHeadersMap
-
- RawWebSocket - Class in io.ktor.http.cio.websocket
-
Represents a RAW web socket session
- RawWebSocket(input, output, maxFrameSize, masking, coroutineContext, pool) - Constructor for class io.ktor.http.cio.websocket.RawWebSocket
-
Represents a RAW web socket session
- RawWebSocketKt - Class in io.ktor.http.cio.websocket
-
- readBytes($receiver) - Static method in class io.ktor.http.cio.websocket.FrameKt
-
Read binary content from a frame. For fragmented frames only returns this fragment.
- readPart(p) - Method in class io.ktor.http.cio.CIOMultipartDataBase
-
- readReason($receiver) - Static method in class io.ktor.http.cio.websocket.FrameKt
-
Read close reason from close frame or null if no close reason provided
- readText($receiver) - Static method in class io.ktor.http.cio.websocket.FrameKt
-
Read text content from text frame. Shouldn't be used for fragmented frames: such frames need to be reassembled first
- register(job) - Method in class io.ktor.http.cio.internals.WeakTimeoutQueue
-
Register job in this queue. It will be cancelled if doesn't complete in time.
- Registration.DefaultImpls - Class in io.ktor.http.cio.internals
-
- release() - Method in class io.ktor.http.cio.HttpHeadersMap
-
- release() - Method in class io.ktor.http.cio.HttpMessage
-
Release all memory resources hold by this message
- release() - Method in class io.ktor.http.cio.MultipartEvent.Epilogue
-
Release underlying data/packet.
- release() - Method in class io.ktor.http.cio.MultipartEvent.MultipartPart
-
Release underlying data/packet.
- release() - Method in class io.ktor.http.cio.MultipartEvent.Preamble
-
Release underlying data/packet.
- release() - Method in class io.ktor.http.cio.MultipartEvent
-
Release underlying data/packet.
- release() - Method in class io.ktor.http.cio.RequestResponseBuilder
-
Release all resources hold by the builder
- Request - Class in io.ktor.http.cio
-
Represents an HTTP request
- requestLine(method, uri, version) - Method in class io.ktor.http.cio.RequestResponseBuilder
-
Append request line
- RequestResponseBuilder - Class in io.ktor.http.cio
-
Builds an HTTP request or response
- RequestResponseBuilder() - Constructor for class io.ktor.http.cio.RequestResponseBuilder
-
Builds an HTTP request or response
- RequestResponseBuilderKt - Class in io.ktor.http.cio
-
- Response - Class in io.ktor.http.cio
-
Represents an HTTP response
- responseLine(version, status, statusText) - Method in class io.ktor.http.cio.RequestResponseBuilder
-
Append response status line
- run($receiver, handler, p) - Static method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImplKt
-
- send(frame, p) - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Enqueue frame, may suspend if outgoing queue is full. May throw an exception if outgoing channel is already
closed so it is impossible to transfer any message. Frames that were sent after close frame could be silently
ignored. Please note that close frame could be sent automatically in reply to a peer close frame unless it is
raw websocket session.
- send($this, frame, p) - Static method in class io.ktor.http.cio.websocket.WebSocketSession.DefaultImpls
-
Enqueue frame, may suspend if outgoing queue is full. May throw an exception if outgoing channel is already
closed so it is impossible to transfer any message. Frames that were sent after close frame could be silently
ignored. Please note that close frame could be sent automatically in reply to a peer close frame unless it is
raw websocket session.
- send(frame, p) - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Enqueue frame, may suspend if outgoing queue is full. May throw an exception if outgoing channel is already
closed so it is impossible to transfer any message. Frames that were sent after close frame could be silently
ignored. Please note that close frame could be sent automatically in reply to a peer close frame unless it is
raw websocket session.
- send($receiver, content, p) - Static method in class io.ktor.http.cio.websocket.WebSocketSessionKt
-
Enqueues a text frame for sending with the specified content.
- send($receiver, content, p) - Static method in class io.ktor.http.cio.websocket.WebSocketSessionKt
-
Enqueues a final binary frame for sending with the specified content.
- send(frame, p) - Method in class io.ktor.http.cio.websocket.WebSocketWriter
-
Send a frame and write it and all outstanding frames in the queue
- serialize(buffer) - Method in class io.ktor.http.cio.websocket.Serializer
-
- Serializer - Class in io.ktor.http.cio.websocket
-
- Serializer() - Constructor for class io.ktor.http.cio.websocket.Serializer
-
- setEnd(p) - Method in class io.ktor.http.cio.internals.MutableRange
-
points to the next character after the last one
- setMasking(p) - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Enable or disable masking output messages by a random xor mask.
Please note that changing this flag on the fly could be applied to the messages already sent (enqueued earlier)
as the sending pipeline works asynchronously
- setMasking(p) - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
Enable or disable masking output messages by a random xor mask.
Please note that changing this flag on the fly could be applied to the messages already sent (enqueued earlier)
as the sending pipeline works asynchronously
- setMasking(p) - Method in class io.ktor.http.cio.websocket.Serializer
-
- setMasking(p) - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Enable or disable masking output messages by a random xor mask.
Please note that changing this flag on the fly could be applied to the messages already sent (enqueued earlier)
as the sending pipeline works asynchronously
- setMasking(p) - Method in class io.ktor.http.cio.websocket.WebSocketWriter
-
Whether it will mask serialized frames.
- setMaxFrameSize(p) - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Specifies frame size limit. Connection will be closed if violated
- setMaxFrameSize(p) - Method in class io.ktor.http.cio.websocket.RawWebSocket
-
Specifies frame size limit. Connection will be closed if violated
- setMaxFrameSize(p) - Method in class io.ktor.http.cio.websocket.WebSocketReader
-
maximum frame size that could be read
- setMaxFrameSize(p) - Method in interface io.ktor.http.cio.websocket.WebSocketSession
-
Specifies frame size limit. Connection will be closed if violated
- setPingIntervalMillis(p) - Method in interface io.ktor.http.cio.websocket.DefaultWebSocketSession
-
Ping interval or -1L to disable pinger. Please note that pongs will be handled despite of this setting.
- setPingIntervalMillis(newValue) - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
Ping interval or -1L to disable pinger. Please note that pongs will be handled despite of this setting.
- setStart(p) - Method in class io.ktor.http.cio.internals.MutableRange
-
points to the first character
- setTimeoutMillis(p) - Method in interface io.ktor.http.cio.websocket.DefaultWebSocketSession
-
- setTimeoutMillis(p) - Method in class io.ktor.http.cio.websocket.DefaultWebSocketSessionImpl
-
A timeout to wait for pong reply to ping otherwise the session will be terminated immediately.
- SimpleFrameCollector - Class in io.ktor.http.cio.websocket
-
- SimpleFrameCollector() - Constructor for class io.ktor.http.cio.websocket.SimpleFrameCollector
-
- start($receiver, handler, p) - Static method in class io.ktor.http.cio.websocket.RawWebSocketKt
-
- start(length, bb) - Method in class io.ktor.http.cio.websocket.SimpleFrameCollector
-
- startConnectionPipeline(input, output, parentJob, ioContext, callContext, timeout, handler) - Static method in class io.ktor.http.cio.PipelineKt
-
Deprecated.
- startConnectionPipeline($receiver, input, output, timeout, handler) - Static method in class io.ktor.http.cio.PipelineKt
-
Start connection HTTP pipeline invoking handler for every request.
Note that handler could be invoked multiple times concurrently due to HTTP pipeline nature
- State() - Constructor for enum io.ktor.http.cio.websocket.FrameParser.State
-