All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.hildan.krossbow.websocket.builtin.BuiltInExtension.kt Maven / Gradle / Ivy

Go to download

Multiplatform implementation of Krossbow's WebSocket API adapting the platforms' built-in implementations (JS browser's WebSocket, JDK11 client on JVM, NSURLSession on Apple targets).

The newest version!
package org.hildan.krossbow.websocket.builtin

import org.hildan.krossbow.websocket.WebSocketClient

/**
 * Gets the [WebSocketClient] implementation that adapts the built-in client from the current platform.
 */
expect fun WebSocketClient.Companion.builtIn(): WebSocketClient




© 2015 - 2024 Weber Informatics LLC | Privacy Policy