MCPcopy Create free account
hub / github.com/ElementsProject/lightning / ws_config

Function ws_config

plugins/wss-proxy-plugin/src/main.rs:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22const MAX_CONNECTIONS: usize = 1024;
23
24fn ws_config() -> WebSocketConfig {
25 WebSocketConfig::default()
26 .max_message_size(Some(MAX_WS_MESSAGE_SIZE))
27 .max_frame_size(Some(MAX_WS_MESSAGE_SIZE))
28}
29
30#[tokio::main]
31async fn main() -> Result<(), anyhow::Error> {

Callers 2

start_proxyFunction · 0.85
relay_messagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected