OptionalfillCalled to fill the initialize params.
OptionalpreA preflight where the server capabilities are shown to all features before a feature is actually initialized. This allows feature to capture some state if they are a pre-requisite for other features.
the server capabilities
the document selector pass to the client's constructor.
May be undefined if the client was created without a selector.
The signature (e.g. method) for which this features support dynamic activation / registration.
Called to fill in the client capabilities this feature implements.
The client capabilities to fill.
Returns the state the feature is in.
Initialize the feature. This method is called on a feature instance when the client has successfully received the initialize request from the server and before the client sends the initialized notification to the server.
the server capabilities.
the document selector pass to the client's constructor.
May be undefined if the client was created without a selector.
Is called when the server send a register request for the given message.
additional registration data as defined in the protocol.
A dynamic feature can be activated via the server.