Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/interfaces/IHttpSocketWrapper.ts
1028 views
1
import * as net from 'net';
2
3
export default interface IHttpSocketWrapper {
4
id: number;
5
alpn: string;
6
socket: net.Socket;
7
dnsResolvedIp: string;
8
remoteAddress: string;
9
localAddress: string;
10
serverName: string;
11
12
createTime: Date;
13
dnsLookupTime: Date;
14
connectTime: Date;
15
errorTime: Date;
16
closeTime: Date;
17
18
isConnected: boolean;
19
isClosing: boolean;
20
21
isHttp2(): boolean;
22
close(): void;
23
}
24
25