Table of Contents

Interface IGlspClientSession

Namespace
NMF.Glsp.Contracts
Assembly
NMF.Glsp.dll

Denotes a GLSP session

public interface IGlspClientSession

Methods

DisposeAsync()

Disposes the resources used by this client session

Task DisposeAsync()

Returns

Task

A task to support asynchronous operations

InitializeAsync(Action<ActionMessage>, string)

Initializes the GLSP session

Task InitializeAsync(Action<ActionMessage> messageHandler, string clientId)

Parameters

messageHandler Action<ActionMessage>

A method that can be used to handle outgoing messages

clientId string

The Client id

Returns

Task

A task to support asynchronous operations

ProcessAsync(BaseAction)

Processes the provided action asynchronously

Task ProcessAsync(BaseAction action)

Parameters

action BaseAction

The action that needs to be processed

Returns

Task

A task to support asynchronous operations