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.
fn encode_settings(document: &SettingsDocument) -> Option<Arc<str>>Encode one settings document once, so every connection writes the same bytes rather than building the frame for itself.