WebSockets

    Ktor provides a WebSocket client for the following engines: CIO, OkHttp, Js. To get more information about the server side, follow this section.

    The basic usage to create an HTTP client supporting WebSockets is pretty simple:

    For more information about the WebSocketSession, check the and the API reference.