hnlyxiaobing/crescent/websocket does not have a README file
impl Show for NativeWebSocketOverflowPolicypub(all) enum WebSocketAggregatedMessage {
Text(String)
Binary(Bytes)
}pub(all) enum WebSocketEvent {
Open(WebSocketPeer)
Message(WebSocketPeer, WebSocketAggregatedMessage)
Close(WebSocketPeer)
}pub struct WebSocketPeer {
// private fields
}fn WebSocketPeer::WebSocketPeer(connection_id~ : String, params? : Map[String, String]) -> WebSocketPeerlet DEFAULT_OUTGOING_QUEUE_CAPACITY : Intfn channel_member_count(channel : String) -> Intfn channel_member_count_in_runtime(runtime_id : String, channel : String) -> Intfn cleanup_runtime(runtime_id : String) -> Unitfn connection_is_registered(connection_id : String) -> Boolasync fn handle_route_async(runtime_id : String, request : Request, conn : ServerConnection, handler : WebSocketHandler, params : Map[String, String], max_message_bytes : Int?, outgoing_queue_capacity : Int, overflow_policy : NativeWebSocketOverflowPolicy, read_timeout_ms : Int?) -> Unitfn registered_connection_count() -> Intfn registered_runtime_count() -> Intfn runtime_id_for_connection(connection_id : String) -> String?fn runtime_is_registered(runtime_id : String) -> BoolCrescent: A web framework for MoonBit. Fork of hnlyxiaobing/crescent with Debug trait fix for wbtest.
Dependencies