http http Proxy target send run run Web Socket async http Proxy SERVER PORT PROXY PORT test Sets server proxy client mb throughput sock port callback callback SERVER PORT SERVER PORT PROXY PORT PROXY PORT ws ws client run run results test Sets run size size size count count count buffer buffers port server proxy exports Port common url extend required upgrade Header SSL target target Path outgoing Path args Index Segs host target Path outgoing Path ret Segs Segs header header config property SSL port method headers headers auth ca reject Unauthorized agent local Address connection path host setup Outgoing setup Socket Port Encrypted Connection Index url Join rewrite Cookie Property create Proxy Proxy Server closure http Proxy extend parse url E3 http https web ws passes passes passes args cntr request Options type options options options options request Options request Options head head cbl web ws Proxy Server E3 closure closure socket port hostname callback callback Server create Proxy prepend Path proxy Request web proxy Websocket Request ws options web Passes ws Passes Error server server listen timeout Headers create Error Handler stream http https web common follow Redirects Agents encrypted values agents http https forward forward Error proxy proxy Error proxy url web options options options options forward forward forward Error forward Error proxy proxy proxy proxy Error proxy Error err err err url url url proxy proxy proxy proxy http https port proto exports remove Chunked Connection Redirect Host Rewrite Header write Headers write Code url common redirect Regex target rewrite Cookie Domain Config rewrite Cookie Path Config preserve Header header header header header header rewrite Cookie Domain Config rewrite Cookie Path Config connection connection host host protocol Code Code Message exports check Method Header Headers create Http Header Outgoing Error stream http https common values proxy err headers socket socket socket socket socket socket head head options options proxy Outgoing Error Outgoing Error proxy proxy Socket proxy Socket proxy Socket proxy Socket proxy Socket proxy Head proxy Head err err port proto exports create Proxy Server Proxy Server options create Proxy Server create Server create Proxy exports