Skip to main content

encode_settings

Function encode_settings 

Source
fn encode_settings(document: &SettingsDocument) -> Option<Arc<str>>
Expand description

Encode one settings document once, so every connection writes the same bytes rather than building the frame for itself.