SSEInterceptor constructor
SSEInterceptor(
- Set<
WatchEvent> watchEvents, - SSEResponse intercept(
- SSEChain chain,
- SSEResponse response
- AutoClearStrategy autoClearStrategy = AutoClearStrategy.stream,
- String name = "unknown",
- SSEInterceptorLifeCycle? lifeCycle,
- bool goThrough = false,
- bool isPeek = false,
Implementation
SSEInterceptor(this.watchEvents, this.intercept,
{this.autoClearStrategy = AutoClearStrategy.stream,
this.name = "unknown",
this.lifeCycle,
this.goThrough = false,
this.isPeek = false});