Skip to main content

protocol_header_value

Function protocol_header_value 

Source
pub fn protocol_header_value() -> &'static str
Expand description

The canonical x-libfw-protocol header value (e.g. libfw/1).

Both the server and the WASM client must agree on this exact value; the server rejects (426) requests that explicitly advertise a different one. Keep in sync with PROTOCOL_NAME / PROTOCOL_VERSION.