module license import { ModuleRpcCommon } from '../common' ; /**
 * A context connector for the client.
 */ export interface ClientContextConnector < ResponseContext > { /**
     * Encodes the request context that is sent to the server
     * (the server decodes it into a `RequestContext` using a `ServerContextConnector`)
     */ provideRequestContext ( ) : Promise < ModuleRpcCommon . EncodedContext > ; /**
     * Decodes the response context received from the server into a `ResponseContext`.
     */ decodeResponseContext ( encodedResponseContext ) : Promise < ResponseContext > ; }