nerf/gun
Low level bindings to the gun API. You typically do not need to use this. Prefer the other modules in this library.
Types
pub external type ConnectionPid
pub type Frame {
Close
Text(String)
Binary(BitString)
TextBuilder(StringBuilder)
BinaryBuilder(BitBuilder)
}
Constructors
-
Close
-
Text(String)
-
Binary(BitString)
-
TextBuilder(StringBuilder)
-
BinaryBuilder(BitBuilder)
pub external type StreamReference
Functions
pub external fn ws_upgrade(
ConnectionPid,
String,
List(Header),
) -> StreamReference