SwiftDocCDocumentationServerClassDocumentationServerA server that provides documentation-related services.class DocumentationServerDiscussionA documentation server receives DocumentationServer.Message values (encoded in JSON format) from clients and forwards them to the appropriate DocumentationService depending on their type. Documentation services declare what message types they handle and clients register documentation services using the register(service:) function.TopicsStructuresstruct MessageA message that can be provided to a documentation service.struct MessageTypeA type of service message.Initializersinit(qualityOfService: DispatchQoS)Creates a server that processes messages using the given quality of service.Instance Propertiesvar services: [DocumentationServer.MessageType : any DocumentationService]The services provided by the server.var synchronizationQueue: DispatchQueueSynchronization queue used for server operations.Instance Methodsfunc process(Data, completion: (Data) -> ())Processes the given message and responds using the given completion closure.func register<S>(service: S)Registers the given service.Type Methodsstatic func createDefaultServer(qualityOfService: DispatchQoS, peer: DocumentationServer?) -> DocumentationServerCreates a server configured with default services.