ngx-sse-client
Version:
A simple SSE (Server Sent Events) client for Angular applications.
18 lines (17 loc) • 476 B
TypeScript
import { HttpContext, HttpHeaders, HttpParams } from '@angular/common/http';
export interface SseRequestOptions {
body?: any;
headers?: HttpHeaders | {
[header: string]: string | string[];
};
params?: HttpParams | {
[param: string]: string | string[];
};
context?: HttpContext;
withCredentials?: boolean;
}
export declare const defaultRequestOptions: {
observe: string;
reportProgress: boolean;
responseType: string;
};