Server middleware adapter configuration.

1.2.0

interface ServerAdapterConfig {
    contextKey?: string;
    scopePerRequest?: boolean;
}

Properties

contextKey?: string

Key on the request object to store the scoped context.

'synapseCtx'
scopePerRequest?: boolean

Create a new scope per request.

true