Skip to content

EventStreamInterceptor

@tsed/sse

Usage

typescript
import { EventStreamInterceptor } from "@tsed/sse";

See /packages/third-parties/sse/src/types/interceptors/EventStreamInterceptor.ts.

Overview

ts
class EventStreamInterceptor implements InterceptorMethods {
    protected $ctx: PlatformContext;
    intercept(context: InterceptorContext): Promise<unknown>;
}

protected $ctx

ts
protected $ctx: PlatformContext;

intercept

ts
intercept(context: InterceptorContext): Promise<unknown>;

Released under the MIT License.