File size: 609 Bytes
b7c4c8f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
 * SSE Transport
 * This transport uses Server-Sent Events for communication
 */

export class SSETransport {
  constructor() {
    console.error('SSETransport not implemented');
  }

  async connect(): Promise<void> {
    console.error('SSETransport.connect not implemented');
  }

  async disconnect(): Promise<void> {
    console.error('SSETransport.disconnect not implemented');
  }

  async send(data: any): Promise<void> {
    console.error('SSETransport.send not implemented');
  }

  async receive(): Promise<any> {
    console.error('SSETransport.receive not implemented');
    return null;
  }
}