mirror of https://github.com/jkjoy/sunpeiwen.git
24 lines
769 B
JavaScript
24 lines
769 B
JavaScript
|
'use strict'
|
||
|
|
||
|
module.exports = {
|
||
|
kAgent: Symbol('agent'),
|
||
|
kOptions: Symbol('options'),
|
||
|
kFactory: Symbol('factory'),
|
||
|
kDispatches: Symbol('dispatches'),
|
||
|
kDispatchKey: Symbol('dispatch key'),
|
||
|
kDefaultHeaders: Symbol('default headers'),
|
||
|
kDefaultTrailers: Symbol('default trailers'),
|
||
|
kContentLength: Symbol('content length'),
|
||
|
kMockAgent: Symbol('mock agent'),
|
||
|
kMockAgentSet: Symbol('mock agent set'),
|
||
|
kMockAgentGet: Symbol('mock agent get'),
|
||
|
kMockDispatch: Symbol('mock dispatch'),
|
||
|
kClose: Symbol('close'),
|
||
|
kOriginalClose: Symbol('original agent close'),
|
||
|
kOrigin: Symbol('origin'),
|
||
|
kIsMockActive: Symbol('is mock active'),
|
||
|
kNetConnect: Symbol('net connect'),
|
||
|
kGetNetConnect: Symbol('get net connect'),
|
||
|
kConnected: Symbol('connected')
|
||
|
}
|