ProxyServer
此内容尚不支持你的语言。
Defined in: ProxyServer.ts:50
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ProxyServer(
target,recordingsDir,timeoutMs?,redaction?,wsReplay?):ProxyServer
Defined in: ProxyServer.ts:70
Parameters
Section titled “Parameters”target
Section titled “target”string
recordingsDir
Section titled “recordingsDir”string
timeoutMs?
Section titled “timeoutMs?”number
redaction?
Section titled “redaction?”false | RedactionConfig
wsReplay?
Section titled “wsReplay?”Returns
Section titled “Returns”ProxyServer
Methods
Section titled “Methods”init()
Section titled “init()”init():
Promise<void>
Defined in: ProxyServer.ts:101
Returns
Section titled “Returns”Promise<void>
listen()
Section titled “listen()”listen(
port):Server
Defined in: ProxyServer.ts:105
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Server