SYMBOL INDEX (2729 symbols across 300 files) FILE: benchmarks/_util/index.js function makeParallelRequests (line 5) | function makeParallelRequests (cb) { function printResults (line 13) | function printResults (results) { function formatBytes (line 57) | function formatBytes (num) { FILE: benchmarks/_util/runner.js class Info (line 5) | class Info { method constructor (line 21) | constructor (name, callback) { method name (line 26) | get name () { method start (line 30) | start () { method end (line 37) | end () { method diff (line 46) | diff () { function bench (line 61) | async function bench (experiments, options = {}) { FILE: benchmarks/benchmark-http2.js class SimpleRequest (line 85) | class SimpleRequest { method constructor (line 86) | constructor (resolve) { method onConnect (line 94) | onConnect (abort) { } method onHeaders (line 96) | onHeaders (statusCode, headers, resume) { method onData (line 100) | onData (chunk) { method onComplete (line 104) | onComplete () { method onError (line 108) | onError (err) { function makeParallelRequests (line 113) | function makeParallelRequests (cb) { function printResults (line 119) | function printResults (results) { method 'native - http2' (line 161) | 'native - http2' () { method 'undici - pipeline' (line 185) | 'undici - pipeline' () { method 'undici - request' (line 202) | 'undici - request' () { method 'undici - stream' (line 226) | 'undici - stream' () { method 'undici - dispatch' (line 239) | 'undici - dispatch' () { method write (line 251) | write () { } method close (line 251) | close () { resolve() } function main (line 257) | async function main () { FILE: benchmarks/benchmark-https.js class SimpleRequest (line 101) | class SimpleRequest { method constructor (line 102) | constructor (resolve) { method onConnect (line 110) | onConnect (abort) { } method onHeaders (line 112) | onHeaders (statusCode, headers, resume) { method onData (line 116) | onData (chunk) { method onComplete (line 120) | onComplete () { method onError (line 124) | onError (err) { function makeParallelRequests (line 129) | function makeParallelRequests (cb) { function printResults (line 133) | function printResults (results) { method 'https - no keepalive' (line 173) | 'https - no keepalive' () { method 'https - keepalive' (line 188) | 'https - keepalive' () { method 'undici - pipeline' (line 203) | 'undici - pipeline' () { method 'undici - request' (line 220) | 'undici - request' () { method 'undici - stream' (line 235) | 'undici - stream' () { method 'undici - dispatch' (line 248) | 'undici - dispatch' () { method write (line 260) | write () { } method close (line 260) | close () { resolve() } function main (line 266) | async function main () { FILE: benchmarks/benchmark.js class SimpleRequest (line 113) | class SimpleRequest { method constructor (line 114) | constructor (resolve) { method onConnect (line 122) | onConnect (abort) { } method onHeaders (line 124) | onHeaders (statusCode, headers, resume) { method onData (line 128) | onData (chunk) { method onComplete (line 132) | onComplete () { method onError (line 136) | onError (err) { method 'http - no keepalive' (line 142) | 'http - no keepalive' () { method 'http - keepalive' (line 157) | 'http - keepalive' () { method 'undici - pipeline' (line 172) | 'undici - pipeline' () { method 'undici - request' (line 189) | 'undici - request' () { method 'undici - stream' (line 204) | 'undici - stream' () { method 'undici - dispatch' (line 217) | 'undici - dispatch' () { method write (line 229) | write () { } method close (line 229) | close () { resolve() } method write (line 238) | write (chunk, encoding, callback) { method write (line 256) | write (chunk, encoding, callback) { method write (line 276) | write (chunk, encoding, callback) { method write (line 302) | write (chunk, encoding, callback) { function main (line 310) | async function main () { FILE: benchmarks/cache/date.mjs constant DATES (line 6) | const DATES = [ FILE: benchmarks/core/is-valid-header-char.mjs function charCodeAtApproach (line 12) | function charCodeAtApproach (characters) { FILE: benchmarks/fetch/headers.mjs function generateAsciiString (line 7) | function generateAsciiString (length) { FILE: benchmarks/fetch/isomorphic-encode.mjs function generateAsciiString (line 8) | function generateAsciiString (length) { function isomorphicEncode1 (line 18) | function isomorphicEncode1 (input) { function isomorphicEncode2 (line 27) | function isomorphicEncode2 (input) { FILE: benchmarks/post-benchmark.js class SimpleRequest (line 123) | class SimpleRequest { method constructor (line 124) | constructor (resolve) { method onConnect (line 132) | onConnect (abort) { } method onHeaders (line 134) | onHeaders (statusCode, headers, resume) { method onData (line 138) | onData (chunk) { method onComplete (line 142) | onComplete () { method onError (line 146) | onError (err) { method 'http - no keepalive' (line 152) | 'http - no keepalive' () { method 'http - keepalive' (line 168) | 'http - keepalive' () { method 'undici - pipeline' (line 184) | 'undici - pipeline' () { method 'undici - request' (line 210) | 'undici - request' () { method 'undici - stream' (line 225) | 'undici - stream' () { method 'undici - dispatch' (line 238) | 'undici - dispatch' () { method write (line 256) | write () { } method close (line 256) | close () { resolve() } method write (line 269) | write (chunk, encoding, callback) { method write (line 289) | write (chunk, encoding, callback) { method write (line 311) | write (chunk, encoding, callback) { method write (line 344) | write (chunk, encoding, callback) { function main (line 352) | async function main () { FILE: benchmarks/websocket-benchmark.mjs function onOpen (line 50) | function onOpen () { function onError (line 55) | function onError (err) { function onOpen (line 123) | function onOpen () { function onError (line 128) | function onError (err) { function init (line 146) | async function init () { function print (line 198) | function print (results) { FILE: build/wasm.js constant WASM_BUILDER_CONTAINER (line 3) | const WASM_BUILDER_CONTAINER = 'ghcr.io/nodejs/wasm-builder@sha256:975f3... constant ROOT (line 9) | const ROOT = resolve(__dirname, '../') constant WASM_SRC (line 10) | const WASM_SRC = resolve(__dirname, '../deps/llhttp') constant WASM_OUT (line 11) | const WASM_OUT = resolve(__dirname, '../lib/llhttp') constant WASM_CC (line 14) | const WASM_CC = process.env.WASM_CC || 'clang' constant WASM_CFLAGS (line 15) | let WASM_CFLAGS = process.env.WASM_CFLAGS || '--sysroot=/usr/share/wasi-... constant WASM_LDFLAGS (line 16) | let WASM_LDFLAGS = process.env.WASM_LDFLAGS || '' constant WASM_LDLIBS (line 17) | const WASM_LDLIBS = process.env.WASM_LDLIBS || '' constant WASM_OPT (line 18) | const WASM_OPT = process.env.WASM_OPT || 'wasm-opt' constant EXTERNAL_PATH (line 21) | const EXTERNAL_PATH = process.env.EXTERNAL_PATH constant WASM_OPT_FLAGS (line 29) | const WASM_OPT_FLAGS = '-O4 --converge --strip-debug --strip-dwarf --str... FILE: deps/llhttp/include/llhttp.h type llhttp__internal_t (line 17) | typedef struct llhttp__internal_s llhttp__internal_t; type llhttp__internal_s (line 18) | struct llhttp__internal_s { type llhttp_errno (line 57) | enum llhttp_errno { type llhttp_errno_t (line 96) | typedef enum llhttp_errno llhttp_errno_t; type llhttp_flags (line 98) | enum llhttp_flags { type llhttp_flags_t (line 109) | typedef enum llhttp_flags llhttp_flags_t; type llhttp_lenient_flags (line 111) | enum llhttp_lenient_flags { type llhttp_lenient_flags_t (line 123) | typedef enum llhttp_lenient_flags llhttp_lenient_flags_t; type llhttp_type (line 125) | enum llhttp_type { type llhttp_type_t (line 130) | typedef enum llhttp_type llhttp_type_t; type llhttp_finish (line 132) | enum llhttp_finish { type llhttp_finish_t (line 137) | typedef enum llhttp_finish llhttp_finish_t; type llhttp_method (line 139) | enum llhttp_method { type llhttp_method_t (line 188) | typedef enum llhttp_method llhttp_method_t; type llhttp_status (line 190) | enum llhttp_status { type llhttp_status_t (line 291) | typedef enum llhttp_status llhttp_status_t; type llhttp__internal_t (line 561) | typedef llhttp__internal_t llhttp_t; type llhttp_settings_t (line 562) | typedef struct llhttp_settings_s llhttp_settings_t; type llhttp_settings_s (line 567) | struct llhttp_settings_s { FILE: deps/llhttp/src/api.c function llhttp_init (line 33) | void llhttp_init(llhttp_t* parser, llhttp_type_t type, function wasm_on_headers_complete_wrap (line 54) | static int wasm_on_headers_complete_wrap(llhttp_t* p) { function llhttp_t (line 71) | llhttp_t* llhttp_alloc(llhttp_type_t type) { function llhttp_free (line 77) | void llhttp_free(llhttp_t* parser) { function llhttp_get_type (line 85) | uint8_t llhttp_get_type(llhttp_t* parser) { function llhttp_get_http_major (line 89) | uint8_t llhttp_get_http_major(llhttp_t* parser) { function llhttp_get_http_minor (line 93) | uint8_t llhttp_get_http_minor(llhttp_t* parser) { function llhttp_get_method (line 97) | uint8_t llhttp_get_method(llhttp_t* parser) { function llhttp_get_status_code (line 101) | int llhttp_get_status_code(llhttp_t* parser) { function llhttp_get_upgrade (line 105) | uint8_t llhttp_get_upgrade(llhttp_t* parser) { function llhttp_reset (line 110) | void llhttp_reset(llhttp_t* parser) { function llhttp_errno_t (line 125) | llhttp_errno_t llhttp_execute(llhttp_t* parser, const char* data, size_t... function llhttp_settings_init (line 130) | void llhttp_settings_init(llhttp_settings_t* settings) { function llhttp_errno_t (line 135) | llhttp_errno_t llhttp_finish(llhttp_t* parser) { function llhttp_pause (line 160) | void llhttp_pause(llhttp_t* parser) { function llhttp_resume (line 170) | void llhttp_resume(llhttp_t* parser) { function llhttp_resume_after_upgrade (line 179) | void llhttp_resume_after_upgrade(llhttp_t* parser) { function llhttp_errno_t (line 188) | llhttp_errno_t llhttp_get_errno(const llhttp_t* parser) { function llhttp_set_error_reason (line 198) | void llhttp_set_error_reason(llhttp_t* parser, const char* reason) { function llhttp_set_lenient_headers (line 237) | void llhttp_set_lenient_headers(llhttp_t* parser, int enabled) { function llhttp_set_lenient_chunked_length (line 246) | void llhttp_set_lenient_chunked_length(llhttp_t* parser, int enabled) { function llhttp_set_lenient_keep_alive (line 255) | void llhttp_set_lenient_keep_alive(llhttp_t* parser, int enabled) { function llhttp_set_lenient_transfer_encoding (line 263) | void llhttp_set_lenient_transfer_encoding(llhttp_t* parser, int enabled) { function llhttp_set_lenient_version (line 271) | void llhttp_set_lenient_version(llhttp_t* parser, int enabled) { function llhttp_set_lenient_data_after_close (line 279) | void llhttp_set_lenient_data_after_close(llhttp_t* parser, int enabled) { function llhttp_set_lenient_optional_lf_after_cr (line 287) | void llhttp_set_lenient_optional_lf_after_cr(llhttp_t* parser, int enabl... function llhttp_set_lenient_optional_crlf_after_chunk (line 295) | void llhttp_set_lenient_optional_crlf_after_chunk(llhttp_t* parser, int ... function llhttp_set_lenient_optional_cr_before_lf (line 303) | void llhttp_set_lenient_optional_cr_before_lf(llhttp_t* parser, int enab... function llhttp_set_lenient_spaces_after_chunk_size (line 311) | void llhttp_set_lenient_spaces_after_chunk_size(llhttp_t* parser, int en... function llhttp__on_message_begin (line 322) | int llhttp__on_message_begin(llhttp_t* s, const char* p, const char* end... function llhttp__on_protocol (line 329) | int llhttp__on_protocol(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_protocol_complete (line 336) | int llhttp__on_protocol_complete(llhttp_t* s, const char* p, const char*... function llhttp__on_url (line 343) | int llhttp__on_url(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_url_complete (line 350) | int llhttp__on_url_complete(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_status (line 357) | int llhttp__on_status(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_status_complete (line 364) | int llhttp__on_status_complete(llhttp_t* s, const char* p, const char* e... function llhttp__on_method (line 371) | int llhttp__on_method(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_method_complete (line 378) | int llhttp__on_method_complete(llhttp_t* s, const char* p, const char* e... function llhttp__on_version (line 385) | int llhttp__on_version(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_version_complete (line 392) | int llhttp__on_version_complete(llhttp_t* s, const char* p, const char* ... function llhttp__on_header_field (line 399) | int llhttp__on_header_field(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_header_field_complete (line 406) | int llhttp__on_header_field_complete(llhttp_t* s, const char* p, const c... function llhttp__on_header_value (line 413) | int llhttp__on_header_value(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_header_value_complete (line 420) | int llhttp__on_header_value_complete(llhttp_t* s, const char* p, const c... function llhttp__on_headers_complete (line 427) | int llhttp__on_headers_complete(llhttp_t* s, const char* p, const char* ... function llhttp__on_message_complete (line 434) | int llhttp__on_message_complete(llhttp_t* s, const char* p, const char* ... function llhttp__on_body (line 441) | int llhttp__on_body(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_chunk_header (line 448) | int llhttp__on_chunk_header(llhttp_t* s, const char* p, const char* endp) { function llhttp__on_chunk_extension_name (line 455) | int llhttp__on_chunk_extension_name(llhttp_t* s, const char* p, const ch... function llhttp__on_chunk_extension_name_complete (line 462) | int llhttp__on_chunk_extension_name_complete(llhttp_t* s, const char* p,... function llhttp__on_chunk_extension_value (line 469) | int llhttp__on_chunk_extension_value(llhttp_t* s, const char* p, const c... function llhttp__on_chunk_extension_value_complete (line 476) | int llhttp__on_chunk_extension_value_complete(llhttp_t* s, const char* p... function llhttp__on_chunk_complete (line 483) | int llhttp__on_chunk_complete(llhttp_t* s, const char* p, const char* en... function llhttp__on_reset (line 490) | int llhttp__on_reset(llhttp_t* s, const char* p, const char* endp) { function llhttp__debug (line 500) | void llhttp__debug(llhttp_t* s, const char* p, const char* endp, FILE: deps/llhttp/src/http.c function llhttp__before_headers_complete (line 11) | int llhttp__before_headers_complete(llhttp_t* parser, const char* p, function llhttp__after_headers_complete (line 37) | int llhttp__after_headers_complete(llhttp_t* parser, const char* p, function llhttp__after_message_complete (line 116) | int llhttp__after_message_complete(llhttp_t* parser, const char* p, function llhttp_message_needs_eof (line 129) | int llhttp_message_needs_eof(const llhttp_t* parser) { function llhttp_should_keep_alive (line 156) | int llhttp_should_keep_alive(const llhttp_t* parser) { FILE: deps/llhttp/src/llhttp.c type llparse_match_status_e (line 235) | enum llparse_match_status_e { type llparse_match_status_t (line 240) | typedef enum llparse_match_status_e llparse_match_status_t; type llparse_match_s (line 242) | struct llparse_match_s { type llparse_match_t (line 246) | typedef struct llparse_match_s llparse_match_t; function llparse_match_t (line 248) | static llparse_match_t llparse__match_sequence_to_lower( function llparse_match_t (line 280) | static llparse_match_t llparse__match_sequence_to_lower_unsafe( function llparse_match_t (line 312) | static llparse_match_t llparse__match_sequence_id( type llparse_state_e (line 344) | enum llparse_state_e { type llparse_state_t (line 600) | typedef enum llparse_state_e llparse_state_t; function llhttp__internal__c_load_initial_message_completed (line 642) | int llhttp__internal__c_load_initial_message_completed( function llhttp__internal__c_update_finish (line 653) | int llhttp__internal__c_update_finish( function llhttp__internal__c_load_type (line 665) | int llhttp__internal__c_load_type( function llhttp__internal__c_store_method (line 672) | int llhttp__internal__c_store_method( function llhttp__internal__c_is_equal_method (line 685) | int llhttp__internal__c_is_equal_method( function llhttp__internal__c_update_http_major (line 692) | int llhttp__internal__c_update_http_major( function llhttp__internal__c_update_http_minor (line 700) | int llhttp__internal__c_update_http_minor( function llhttp__internal__c_test_lenient_flags (line 712) | int llhttp__internal__c_test_lenient_flags( function llhttp__internal__c_test_lenient_flags_1 (line 719) | int llhttp__internal__c_test_lenient_flags_1( function llhttp__internal__c_test_flags (line 726) | int llhttp__internal__c_test_flags( function llhttp__internal__c_is_equal_upgrade (line 741) | int llhttp__internal__c_is_equal_upgrade( function llhttp__internal__c_update_content_length (line 752) | int llhttp__internal__c_update_content_length( function llhttp__internal__c_update_initial_message_completed (line 760) | int llhttp__internal__c_update_initial_message_completed( function llhttp__internal__c_update_finish_1 (line 768) | int llhttp__internal__c_update_finish_1( function llhttp__internal__c_test_lenient_flags_2 (line 776) | int llhttp__internal__c_test_lenient_flags_2( function llhttp__internal__c_test_lenient_flags_3 (line 783) | int llhttp__internal__c_test_lenient_flags_3( function llhttp__internal__c_mul_add_content_length (line 802) | int llhttp__internal__c_mul_add_content_length( function llhttp__internal__c_test_lenient_flags_4 (line 828) | int llhttp__internal__c_test_lenient_flags_4( function llhttp__internal__c_is_equal_content_length (line 839) | int llhttp__internal__c_is_equal_content_length( function llhttp__internal__c_test_lenient_flags_7 (line 846) | int llhttp__internal__c_test_lenient_flags_7( function llhttp__internal__c_or_flags (line 853) | int llhttp__internal__c_or_flags( function llhttp__internal__c_test_lenient_flags_8 (line 861) | int llhttp__internal__c_test_lenient_flags_8( function llhttp__internal__c_update_finish_3 (line 876) | int llhttp__internal__c_update_finish_3( function llhttp__internal__c_or_flags_1 (line 884) | int llhttp__internal__c_or_flags_1( function llhttp__internal__c_update_upgrade (line 892) | int llhttp__internal__c_update_upgrade( function llhttp__internal__c_store_header_state (line 900) | int llhttp__internal__c_store_header_state( function llhttp__internal__c_load_header_state (line 913) | int llhttp__internal__c_load_header_state( function llhttp__internal__c_test_flags_4 (line 920) | int llhttp__internal__c_test_flags_4( function llhttp__internal__c_test_lenient_flags_22 (line 927) | int llhttp__internal__c_test_lenient_flags_22( function llhttp__internal__c_or_flags_5 (line 934) | int llhttp__internal__c_or_flags_5( function llhttp__internal__c_update_header_state (line 942) | int llhttp__internal__c_update_header_state( function llhttp__internal__c_or_flags_6 (line 954) | int llhttp__internal__c_or_flags_6( function llhttp__internal__c_or_flags_7 (line 962) | int llhttp__internal__c_or_flags_7( function llhttp__internal__c_or_flags_8 (line 970) | int llhttp__internal__c_or_flags_8( function llhttp__internal__c_update_header_state_3 (line 978) | int llhttp__internal__c_update_header_state_3( function llhttp__internal__c_update_header_state_1 (line 986) | int llhttp__internal__c_update_header_state_1( function llhttp__internal__c_update_header_state_6 (line 994) | int llhttp__internal__c_update_header_state_6( function llhttp__internal__c_update_header_state_7 (line 1002) | int llhttp__internal__c_update_header_state_7( function llhttp__internal__c_test_flags_2 (line 1010) | int llhttp__internal__c_test_flags_2( function llhttp__internal__c_mul_add_content_length_1 (line 1017) | int llhttp__internal__c_mul_add_content_length_1( function llhttp__internal__c_or_flags_17 (line 1043) | int llhttp__internal__c_or_flags_17( function llhttp__internal__c_test_flags_3 (line 1051) | int llhttp__internal__c_test_flags_3( function llhttp__internal__c_test_lenient_flags_20 (line 1058) | int llhttp__internal__c_test_lenient_flags_20( function llhttp__internal__c_or_flags_18 (line 1065) | int llhttp__internal__c_or_flags_18( function llhttp__internal__c_and_flags (line 1073) | int llhttp__internal__c_and_flags( function llhttp__internal__c_update_header_state_8 (line 1081) | int llhttp__internal__c_update_header_state_8( function llhttp__internal__c_or_flags_20 (line 1089) | int llhttp__internal__c_or_flags_20( function llhttp__internal__c_load_method (line 1101) | int llhttp__internal__c_load_method( function llhttp__internal__c_store_http_major (line 1108) | int llhttp__internal__c_store_http_major( function llhttp__internal__c_store_http_minor (line 1117) | int llhttp__internal__c_store_http_minor( function llhttp__internal__c_test_lenient_flags_24 (line 1126) | int llhttp__internal__c_test_lenient_flags_24( function llhttp__internal__c_load_http_major (line 1137) | int llhttp__internal__c_load_http_major( function llhttp__internal__c_load_http_minor (line 1144) | int llhttp__internal__c_load_http_minor( function llhttp__internal__c_update_status_code (line 1151) | int llhttp__internal__c_update_status_code( function llhttp__internal__c_mul_add_status_code (line 1159) | int llhttp__internal__c_mul_add_status_code( function llhttp__internal__c_update_type (line 1189) | int llhttp__internal__c_update_type( function llhttp__internal__c_update_type_1 (line 1197) | int llhttp__internal__c_update_type_1( function llhttp__internal_init (line 1205) | int llhttp__internal_init(llhttp__internal_t* state) { function llparse_state_t (line 1211) | static llparse_state_t llhttp__internal__run( function llhttp__internal_execute (line 10067) | int llhttp__internal_execute(llhttp__internal_t* state, const char* p, c... FILE: docs/examples/ca-fingerprint/index.js method connect (line 23) | connect (opts, cb) { function getIssuerCertificate (line 55) | function getIssuerCertificate (socket) { function getFingerprint (line 75) | function getFingerprint (content, inputEncoding = 'base64', outputEncodi... FILE: docs/examples/eventsource.js function main (line 6) | async function main () { FILE: docs/examples/fetch.js function main (line 5) | async function main () { FILE: docs/examples/proxy-agent.js function main (line 7) | async function main () { FILE: docs/examples/proxy/index.js function run (line 12) | async function run () { FILE: docs/examples/proxy/proxy.js class HTTPHandler (line 38) | class HTTPHandler { method constructor (line 39) | constructor (ctx) { method onConnect (line 52) | onConnect (abort) { method onHeaders (line 61) | onHeaders (statusCode, headers, resume) { method onData (line 75) | onData (chunk) { method onComplete (line 79) | onComplete () { method onError (line 87) | onError (err) { class WSHandler (line 95) | class WSHandler { method constructor (line 96) | constructor (ctx) { method onConnect (line 111) | onConnect (abort) { method onUpgrade (line 120) | onUpgrade (statusCode, headers, socket) { method onError (line 147) | onError (err) { constant HOP_EXPR (line 157) | const HOP_EXPR = /^(te|host|upgrade|trailers|connection|keep-alive|http2... function getHeaders (line 162) | function getHeaders ({ function setupSocket (line 239) | function setupSocket (socket) { function printIp (line 245) | function printIp (address, port) { class BadGateway (line 260) | class BadGateway extends Error { method constructor (line 261) | constructor (message = STATUS_CODES[502]) { method toString (line 265) | toString () { method name (line 269) | get name () { method status (line 273) | get status () { method statusCode (line 277) | get statusCode () { method expose (line 281) | get expose () { method headers (line 285) | get headers () { class LoopDetected (line 290) | class LoopDetected extends Error { method constructor (line 291) | constructor (message = STATUS_CODES[508]) { method toString (line 295) | toString () { method name (line 299) | get name () { method status (line 303) | get status () { method statusCode (line 307) | get statusCode () { method expose (line 311) | get expose () { method headers (line 315) | get headers () { FILE: docs/examples/proxy/websocket.js function createWebSocketServer (line 13) | function createWebSocketServer () { function run (line 26) | async function run () { FILE: docs/examples/request.js function getRequest (line 5) | async function getRequest (port = 3001) { function postJSONRequest (line 19) | async function postJSONRequest (port = 3001) { function postFormRequest (line 42) | async function postFormRequest (port = 3001) { function deleteRequest (line 65) | async function deleteRequest (port = 3001) { FILE: docs/examples/snapshot-testing.js function basicSnapshotExample (line 14) | async function basicSnapshotExample () { function main (line 102) | async function main () { FILE: docs/examples/socks5-proxy.js function basicSocks5Example (line 6) | async function basicSocks5Example () { function authenticatedSocks5Example (line 29) | async function authenticatedSocks5Example () { function fetchWithSocks5Example (line 57) | async function fetchWithSocks5Example () { function httpsWithSocks5Example (line 78) | async function httpsWithSocks5Example () { function connectionPoolingExample (line 99) | async function connectionPoolingExample () { function errorHandlingExample (line 134) | async function errorHandlingExample () { function globalDispatcherExample (line 151) | async function globalDispatcherExample () { function runExamples (line 182) | async function runExamples () { FILE: index-fetch.js function appendFetchStackTrace (line 11) | function appendFetchStackTrace (err, filename) { FILE: index.js function makeDispatcher (line 72) | function makeDispatcher (fn) { function appendFetchStackTrace (line 130) | function appendFetchStackTrace (err, filename) { function install (line 221) | function install () { FILE: lib/api/abort-signal.js function abort (line 9) | function abort (self) { function addSignal (line 18) | function addSignal (self, signal) { function removeSignal (line 41) | function removeSignal (self) { FILE: lib/api/api-connect.js class ConnectHandler (line 9) | class ConnectHandler extends AsyncResource { method constructor (line 10) | constructor (opts, callback) { method onConnect (line 35) | onConnect (abort, context) { method onHeaders (line 47) | onHeaders () { method onUpgrade (line 51) | onUpgrade (statusCode, rawHeaders, socket) { method onError (line 73) | onError (err) { function connect (line 87) | function connect (opts, callback) { FILE: lib/api/api-pipeline.js function noop (line 18) | function noop () {} class PipelineRequest (line 22) | class PipelineRequest extends Readable { method constructor (line 23) | constructor () { method _read (line 29) | _read () { method _destroy (line 38) | _destroy (err, callback) { class PipelineResponse (line 45) | class PipelineResponse extends Readable { method constructor (line 46) | constructor (resume) { method _read (line 51) | _read () { method _destroy (line 55) | _destroy (err, callback) { class PipelineHandler (line 64) | class PipelineHandler extends AsyncResource { method constructor (line 65) | constructor (opts, handler) { method onConnect (line 149) | onConnect (abort, context) { method onHeaders (line 163) | onHeaders (statusCode, rawHeaders, resume) { method onData (line 225) | onData (chunk) { method onComplete (line 230) | onComplete (trailers) { method onError (line 235) | onError (err) { function pipeline (line 242) | function pipeline (opts, handler) { FILE: lib/api/api-request.js function noop (line 9) | function noop () {} class RequestHandler (line 11) | class RequestHandler extends AsyncResource { method constructor (line 12) | constructor (opts, callback) { method onConnect (line 76) | onConnect (abort, context) { method onHeaders (line 88) | onHeaders (statusCode, rawHeaders, resume, statusMessage) { method onData (line 147) | onData (chunk) { method onComplete (line 151) | onComplete (trailers) { method onError (line 156) | onError (err) { function request (line 191) | function request (opts, callback) { FILE: lib/api/api-stream.js function noop (line 10) | function noop () {} class StreamHandler (line 12) | class StreamHandler extends AsyncResource { method constructor (line 13) | constructor (opts, factory, callback) { method onConnect (line 69) | onConnect (abort, context) { method onHeaders (line 81) | onHeaders (statusCode, rawHeaders, resume, statusMessage) { method onData (line 143) | onData (chunk) { method onComplete (line 149) | onComplete (trailers) { method onError (line 163) | onError (err) { function stream (line 187) | function stream (opts, factory, callback) { FILE: lib/api/api-upgrade.js class UpgradeHandler (line 10) | class UpgradeHandler extends AsyncResource { method constructor (line 11) | constructor (opts, callback) { method onConnect (line 37) | onConnect (abort, context) { method onHeaders (line 49) | onHeaders () { method onUpgrade (line 53) | onUpgrade (statusCode, rawHeaders, socket) { method onError (line 70) | onError (err) { function upgrade (line 84) | function upgrade (opts, callback) { FILE: lib/api/readable.js class BodyReadable (line 25) | class BodyReadable extends Readable { method constructor (line 34) | constructor ({ method _destroy (line 85) | _destroy (err, callback) { method on (line 110) | on (event, listener) { method addListener (line 123) | addListener (event, listener) { method off (line 132) | off (event, listener) { method removeListener (line 148) | removeListener (event, listener) { method push (line 156) | push (chunk) { method text (line 174) | text () { method json (line 184) | json () { method blob (line 194) | blob () { method bytes (line 204) | bytes () { method arrayBuffer (line 214) | arrayBuffer () { method formData (line 224) | async formData () { method bodyUsed (line 237) | get bodyUsed () { method body (line 246) | get body () { method dump (line 265) | dump (opts) { method setEncoding (line 325) | setEncoding (encoding) { function isLocked (line 338) | function isLocked (bodyReadable) { function isUnusable (line 348) | function isUnusable (bodyReadable) { function consume (line 382) | function consume (stream, type) { function consumeStart (line 428) | function consumeStart (consume) { function chunksDecode (line 468) | function chunksDecode (chunks, length, encoding) { function chunksConcat (line 495) | function chunksConcat (chunks, length) { function consumeEnd (line 520) | function consumeEnd (consume, encoding) { function consumePush (line 547) | function consumePush (consume, chunk) { function consumeFinish (line 557) | function consumeFinish (consume, err) { FILE: lib/cache/memory-cache-store.js class MemoryCacheStore (line 18) | class MemoryCacheStore extends EventEmitter { method constructor (line 31) | constructor (opts) { method size (line 77) | get size () { method isFull (line 85) | isFull () { method get (line 93) | get (key) { method createWriteStream (line 124) | createWriteStream (key, val) { method delete (line 205) | delete (key) { function findEntry (line 220) | function findEntry (key, entries, now) { FILE: lib/cache/sqlite-cache-store.js constant VERSION (line 8) | const VERSION = 3 constant MAX_ENTRY_SIZE (line 11) | const MAX_ENTRY_SIZE = 2 * 1000 * 1000 * 1000 method constructor (line 78) | constructor (opts) { method close (line 225) | close () { method get (line 233) | get (key) { method set (line 259) | set (key, value) { method createWriteStream (line 310) | createWriteStream (key, value) { method delete (line 344) | delete (key) { method #prune (line 352) | #prune () { method size (line 378) | get size () { method #makeValueUrl (line 387) | #makeValueUrl (key) { method #findValue (line 396) | #findValue (key, canBeExpired = false) { function headerValueEquals (line 442) | function headerValueEquals (lhs, rhs) { FILE: lib/core/connect.js method constructor (line 16) | constructor (maxCachedSessions) { method get (line 31) | get (sessionKey) { method set (line 36) | set (sessionKey, session) { function buildConnector (line 46) | function buildConnector ({ allowH2, useH2c, maxCachedSessions, socketPat... FILE: lib/core/constants.js function getHeaderNameAsBuffer (line 122) | function getHeaderNameAsBuffer (header) { FILE: lib/core/diagnostics.js function trackClientEvents (line 36) | function trackClientEvents (debugLog = undiciDebugLog) { function trackRequestEvents (line 106) | function trackRequestEvents (debugLog = undiciDebugLog) { function trackWebSocketEvents (line 162) | function trackWebSocketEvents (debugLog = websocketDebuglog) { FILE: lib/core/errors.js class UndiciError (line 4) | class UndiciError extends Error { method constructor (line 5) | constructor (message, options) { method [kUndiciError] (line 15) | get [kUndiciError] () { method [Symbol.hasInstance] (line 11) | static [Symbol.hasInstance] (instance) { class ConnectTimeoutError (line 21) | class ConnectTimeoutError extends UndiciError { method constructor (line 22) | constructor (message) { method [kConnectTimeoutError] (line 33) | get [kConnectTimeoutError] () { method [Symbol.hasInstance] (line 29) | static [Symbol.hasInstance] (instance) { class HeadersTimeoutError (line 39) | class HeadersTimeoutError extends UndiciError { method constructor (line 40) | constructor (message) { method [kHeadersTimeoutError] (line 51) | get [kHeadersTimeoutError] () { method [Symbol.hasInstance] (line 47) | static [Symbol.hasInstance] (instance) { class HeadersOverflowError (line 57) | class HeadersOverflowError extends UndiciError { method constructor (line 58) | constructor (message) { method [kHeadersOverflowError] (line 69) | get [kHeadersOverflowError] () { method [Symbol.hasInstance] (line 65) | static [Symbol.hasInstance] (instance) { class BodyTimeoutError (line 75) | class BodyTimeoutError extends UndiciError { method constructor (line 76) | constructor (message) { method [kBodyTimeoutError] (line 87) | get [kBodyTimeoutError] () { method [Symbol.hasInstance] (line 83) | static [Symbol.hasInstance] (instance) { class InvalidArgumentError (line 93) | class InvalidArgumentError extends UndiciError { method constructor (line 94) | constructor (message) { method [kInvalidArgumentError] (line 105) | get [kInvalidArgumentError] () { method [Symbol.hasInstance] (line 101) | static [Symbol.hasInstance] (instance) { class InvalidReturnValueError (line 111) | class InvalidReturnValueError extends UndiciError { method constructor (line 112) | constructor (message) { method [kInvalidReturnValueError] (line 123) | get [kInvalidReturnValueError] () { method [Symbol.hasInstance] (line 119) | static [Symbol.hasInstance] (instance) { class AbortError (line 129) | class AbortError extends UndiciError { method constructor (line 130) | constructor (message) { method [kAbortError] (line 141) | get [kAbortError] () { method [Symbol.hasInstance] (line 137) | static [Symbol.hasInstance] (instance) { class RequestAbortedError (line 147) | class RequestAbortedError extends AbortError { method constructor (line 148) | constructor (message) { method [kRequestAbortedError] (line 159) | get [kRequestAbortedError] () { method [Symbol.hasInstance] (line 155) | static [Symbol.hasInstance] (instance) { class InformationalError (line 165) | class InformationalError extends UndiciError { method constructor (line 166) | constructor (message) { method [kInformationalError] (line 177) | get [kInformationalError] () { method [Symbol.hasInstance] (line 173) | static [Symbol.hasInstance] (instance) { class RequestContentLengthMismatchError (line 183) | class RequestContentLengthMismatchError extends UndiciError { method constructor (line 184) | constructor (message) { method [kRequestContentLengthMismatchError] (line 195) | get [kRequestContentLengthMismatchError] () { method [Symbol.hasInstance] (line 191) | static [Symbol.hasInstance] (instance) { class ResponseContentLengthMismatchError (line 201) | class ResponseContentLengthMismatchError extends UndiciError { method constructor (line 202) | constructor (message) { method [kResponseContentLengthMismatchError] (line 213) | get [kResponseContentLengthMismatchError] () { method [Symbol.hasInstance] (line 209) | static [Symbol.hasInstance] (instance) { class ClientDestroyedError (line 219) | class ClientDestroyedError extends UndiciError { method constructor (line 220) | constructor (message) { method [kClientDestroyedError] (line 231) | get [kClientDestroyedError] () { method [Symbol.hasInstance] (line 227) | static [Symbol.hasInstance] (instance) { class ClientClosedError (line 237) | class ClientClosedError extends UndiciError { method constructor (line 238) | constructor (message) { method [kClientClosedError] (line 249) | get [kClientClosedError] () { method [Symbol.hasInstance] (line 245) | static [Symbol.hasInstance] (instance) { class SocketError (line 255) | class SocketError extends UndiciError { method constructor (line 256) | constructor (message, socket) { method [kSocketError] (line 268) | get [kSocketError] () { method [Symbol.hasInstance] (line 264) | static [Symbol.hasInstance] (instance) { class NotSupportedError (line 274) | class NotSupportedError extends UndiciError { method constructor (line 275) | constructor (message) { method [kNotSupportedError] (line 286) | get [kNotSupportedError] () { method [Symbol.hasInstance] (line 282) | static [Symbol.hasInstance] (instance) { class BalancedPoolMissingUpstreamError (line 292) | class BalancedPoolMissingUpstreamError extends UndiciError { method constructor (line 293) | constructor (message) { method [kBalancedPoolMissingUpstreamError] (line 304) | get [kBalancedPoolMissingUpstreamError] () { method [Symbol.hasInstance] (line 300) | static [Symbol.hasInstance] (instance) { class HTTPParserError (line 310) | class HTTPParserError extends Error { method constructor (line 311) | constructor (message, code, data) { method [kHTTPParserError] (line 322) | get [kHTTPParserError] () { method [Symbol.hasInstance] (line 318) | static [Symbol.hasInstance] (instance) { class ResponseExceededMaxSizeError (line 328) | class ResponseExceededMaxSizeError extends UndiciError { method constructor (line 329) | constructor (message) { method [kResponseExceededMaxSizeError] (line 340) | get [kResponseExceededMaxSizeError] () { method [Symbol.hasInstance] (line 336) | static [Symbol.hasInstance] (instance) { class RequestRetryError (line 346) | class RequestRetryError extends UndiciError { method constructor (line 347) | constructor (message, code, { headers, data }) { method [kRequestRetryError] (line 361) | get [kRequestRetryError] () { method [Symbol.hasInstance] (line 357) | static [Symbol.hasInstance] (instance) { class ResponseError (line 367) | class ResponseError extends UndiciError { method constructor (line 368) | constructor (message, code, { headers, body }) { method [kResponseError] (line 382) | get [kResponseError] () { method [Symbol.hasInstance] (line 378) | static [Symbol.hasInstance] (instance) { class SecureProxyConnectionError (line 388) | class SecureProxyConnectionError extends UndiciError { method constructor (line 389) | constructor (cause, message, options = {}) { method [kSecureProxyConnectionError] (line 401) | get [kSecureProxyConnectionError] () { method [Symbol.hasInstance] (line 397) | static [Symbol.hasInstance] (instance) { class MaxOriginsReachedError (line 407) | class MaxOriginsReachedError extends UndiciError { method constructor (line 408) | constructor (message) { method [kMaxOriginsReachedError] (line 419) | get [kMaxOriginsReachedError] () { method [Symbol.hasInstance] (line 415) | static [Symbol.hasInstance] (instance) { class Socks5ProxyError (line 424) | class Socks5ProxyError extends UndiciError { method constructor (line 425) | constructor (message, code) { class MessageSizeExceededError (line 434) | class MessageSizeExceededError extends UndiciError { method constructor (line 435) | constructor (message) { method [kMessageSizeExceededError] (line 446) | get [kMessageSizeExceededError] () { method [Symbol.hasInstance] (line 442) | static [Symbol.hasInstance] (instance) { FILE: lib/core/request.js class Request (line 32) | class Request { method constructor (line 33) | constructor (origin, { method onBodySent (line 217) | onBodySent (chunk) { method onRequestSent (line 230) | onRequestSent () { method onConnect (line 244) | onConnect (abort) { method onResponseStarted (line 256) | onResponseStarted () { method onHeaders (line 260) | onHeaders (statusCode, headers, resume, statusText) { method onData (line 275) | onData (chunk) { method onUpgrade (line 290) | onUpgrade (statusCode, headers, socket) { method onComplete (line 297) | onComplete (trailers) { method onError (line 316) | onError (error) { method onFinally (line 331) | onFinally () { method addHeader (line 343) | addHeader (key, value) { function processHeader (line 349) | function processHeader (request, key, val) { FILE: lib/core/socks5-client.js constant SOCKS_VERSION (line 12) | const SOCKS_VERSION = 0x05 constant AUTH_METHODS (line 15) | const AUTH_METHODS = { constant COMMANDS (line 23) | const COMMANDS = { constant ADDRESS_TYPES (line 30) | const ADDRESS_TYPES = { constant REPLY_CODES (line 37) | const REPLY_CODES = { constant STATES (line 50) | const STATES = { class Socks5Client (line 64) | class Socks5Client extends EventEmitter { method constructor (line 65) | constructor (socket, options = {}) { method onData (line 93) | onData (data) { method onError (line 117) | onError (err) { method onClose (line 127) | onClose () { method destroy (line 136) | destroy () { method handshake (line 145) | handshake () { method handleHandshakeResponse (line 172) | handleHandshakeResponse () { method sendAuthRequest (line 204) | sendAuthRequest () { method handleAuthResponse (line 239) | handleAuthResponse () { method connect (line 265) | connect (address, port) { method buildConnectRequest (line 280) | buildConnectRequest (command, address, port) { method handleConnectResponse (line 304) | handleConnectResponse () { method getReplyErrorMessage (line 376) | getReplyErrorMessage (reply) { FILE: lib/core/socks5-utils.js function parseAddress (line 12) | function parseAddress (address) { function parseIPv6 (line 47) | function parseIPv6 (address) { function buildAddressBuffer (line 90) | function buildAddressBuffer (type, addressBuffer, port) { function parseResponseAddress (line 107) | function parseResponseAddress (buffer, offset = 0) { function createReplyError (line 179) | function createReplyError (replyCode) { FILE: lib/core/tree.js class TstNode (line 8) | class TstNode { method constructor (line 24) | constructor (key, value, index) { method add (line 45) | add (key, value) { method search (line 91) | search (key) { class TernarySearchTree (line 124) | class TernarySearchTree { method insert (line 133) | insert (key, value) { method lookup (line 145) | lookup (key) { FILE: lib/core/util.js class BodyAsyncIterable (line 17) | class BodyAsyncIterable { method constructor (line 18) | constructor (body) { method [Symbol.asyncIterator] (line 23) | async * [Symbol.asyncIterator] () { function noop (line 30) | function noop () {} function wrapRequestBody (line 36) | function wrapRequestBody (body) { function isStream (line 81) | function isStream (obj) { function isBlobLike (line 90) | function isBlobLike (object) { function pathHasQueryOrFragment (line 111) | function pathHasQueryOrFragment (url) { function serializePathWithQuery (line 123) | function serializePathWithQuery (url, queryParams) { function isValidPort (line 141) | function isValidPort (port) { function isHttpOrHttpsPrefixed (line 156) | function isHttpOrHttpsPrefixed (value) { function parseURL (line 177) | function parseURL (url) { function parseOrigin (line 255) | function parseOrigin (url) { function getHostname (line 269) | function getHostname (host) { function getServerName (line 289) | function getServerName (host) { function deepClone (line 310) | function deepClone (obj) { function isAsyncIterable (line 318) | function isAsyncIterable (obj) { function isIterable (line 326) | function isIterable (obj) { function hasSafeIterator (line 338) | function hasSafeIterator (obj) { function bodyLength (line 348) | function bodyLength (body) { function isDestroyed (line 369) | function isDestroyed (body) { function destroy (line 378) | function destroy (stream, err) { constant KEEPALIVE_TIMEOUT_EXPR (line 401) | const KEEPALIVE_TIMEOUT_EXPR = /timeout=(\d+)/ function parseKeepAliveTimeout (line 406) | function parseKeepAliveTimeout (val) { function headerNameToString (line 416) | function headerNameToString (value) { function bufferToLowerCasedHeaderName (line 427) | function bufferToLowerCasedHeaderName (value) { function parseHeaders (line 436) | function parseHeaders (headers, obj) { function parseRawHeaders (line 466) | function parseRawHeaders (headers) { function encodeRawHeaders (line 494) | function encodeRawHeaders (headers) { function isBuffer (line 505) | function isBuffer (buffer) { function assertRequestHandler (line 518) | function assertRequestHandler (handler, method, upgrade) { function isDisturbed (line 565) | function isDisturbed (body) { function getSocketInfo (line 586) | function getSocketInfo (socket) { function ReadableStreamFrom (line 603) | function ReadableStreamFrom (iterable) { function isFormDataLike (line 643) | function isFormDataLike (object) { function addAbortListener (line 657) | function addAbortListener (signal, listener) { function isTokenCharCode (line 690) | function isTokenCharCode (c) { function isValidHTTPToken (line 700) | function isValidHTTPToken (characters) { function isValidHeaderValue (line 727) | function isValidHeaderValue (characters) { function parseRangeHeader (line 746) | function parseRangeHeader (range) { function addListener (line 766) | function addListener (obj, name, listener) { function removeAllListeners (line 778) | function removeAllListeners (obj) { function errorRequest (line 793) | function errorRequest (client, request, err) { function onConnectTimeout (line 856) | function onConnectTimeout (socket, opts) { function getProtocolFromUrlString (line 878) | function getProtocolFromUrlString (urlString) { FILE: lib/dispatcher/agent.js function defaultFactory (line 18) | function defaultFactory (origin, opts) { class Agent (line 24) | class Agent extends DispatcherBase { method constructor (line 25) | constructor ({ factory = defaultFactory, maxOrigins = Infinity, connec... method [kRunning] (line 66) | get [kRunning] () { method [kDispatch] (line 74) | [kDispatch] (opts, handler) { method [kClose] (line 127) | [kClose] () { method [kDestroy] (line 137) | [kDestroy] (err) { method stats (line 147) | get stats () { FILE: lib/dispatcher/balanced-pool.js function getGreatestCommonDivisor (line 36) | function getGreatestCommonDivisor (a, b) { function defaultFactory (line 47) | function defaultFactory (origin, opts) { class BalancedPool (line 51) | class BalancedPool extends PoolBase { method constructor (line 52) | constructor (upstreams = [], { factory = defaultFactory, ...opts } = {... method addUpstream (line 81) | addUpstream (upstream) { method _updateBalancedPoolStats (line 121) | _updateBalancedPoolStats () { method removeUpstream (line 130) | removeUpstream (upstream) { method getUpstream (line 146) | getUpstream (upstream) { method upstreams (line 156) | get upstreams () { method [kGetDispatcher] (line 162) | [kGetDispatcher] () { FILE: lib/dispatcher/client-h1.js constant EMPTY_BUF (line 57) | const EMPTY_BUF = Buffer.alloc(0) function lazyllhttp (line 63) | function lazyllhttp () { constant USE_NATIVE_TIMER (line 192) | const USE_NATIVE_TIMER = 0 constant USE_FAST_TIMER (line 193) | const USE_FAST_TIMER = 1 constant TIMEOUT_HEADERS (line 197) | const TIMEOUT_HEADERS = 2 | USE_FAST_TIMER constant TIMEOUT_BODY (line 198) | const TIMEOUT_BODY = 4 | USE_FAST_TIMER constant TIMEOUT_KEEP_ALIVE (line 202) | const TIMEOUT_KEEP_ALIVE = 8 | USE_NATIVE_TIMER class Parser (line 204) | class Parser { method constructor (line 210) | constructor (client, socket, { exports }) { method setTimeout (line 239) | setTimeout (delay, type) { method resume (line 273) | resume () { method readMore (line 295) | readMore () { method execute (line 308) | execute (chunk) { method destroy (line 369) | destroy () { method onStatus (line 388) | onStatus (buf) { method onMessageBegin (line 396) | onMessageBegin () { method onHeaderField (line 416) | onHeaderField (buf) { method onHeaderValue (line 434) | onHeaderValue (buf) { method trackHeader (line 464) | trackHeader (len) { method onUpgrade (line 474) | onUpgrade (head) { method onHeadersComplete (line 524) | onHeadersComplete (statusCode, upgrade, shouldKeepAlive) { method onBody (line 634) | onBody (buf) { method onMessageComplete (line 670) | onMessageComplete () { function onParserTimeout (line 738) | function onParserTimeout (parserWeakRef) { function connectH1 (line 766) | function connectH1 (client, socket) { function onHttpSocketError (line 865) | function onHttpSocketError (err) { function onHttpSocketReadable (line 883) | function onHttpSocketReadable () { function onHttpSocketEnd (line 887) | function onHttpSocketEnd () { function onHttpSocketClose (line 899) | function onHttpSocketClose () { function onSocketClose (line 945) | function onSocketClose () { function resumeH1 (line 952) | function resumeH1 (client) { function shouldSendContentLength (line 983) | function shouldSendContentLength (method) { function writeH1 (line 992) | function writeH1 (client, request) { function writeStream (line 1187) | function writeStream (abort, body, client, request, socket, contentLengt... function writeBuffer (line 1325) | function writeBuffer (abort, body, client, request, socket, contentLengt... function writeBlob (line 1366) | async function writeBlob (abort, body, client, request, socket, contentL... function writeIterable (line 1405) | async function writeIterable (abort, body, client, request, socket, cont... class AsyncWriter (line 1454) | class AsyncWriter { method constructor (line 1466) | constructor ({ abort, socket, request, contentLength, client, expectsP... method write (line 1483) | write (chunk) { method end (line 1548) | end () { method destroy (line 1598) | destroy (err) { FILE: lib/dispatcher/client-h2.js function parseH2Headers (line 71) | function parseH2Headers (headers) { function connectH2 (line 91) | function connectH2 (client, socket) { function resumeH2 (line 218) | function resumeH2 (client) { function applyConnectionWindowSize (line 232) | function applyConnectionWindowSize (connectionWindowSize) { function onHttp2RemoteSettings (line 242) | function onHttp2RemoteSettings (settings) { function onHttp2SendPing (line 263) | function onHttp2SendPing (session) { function onHttp2SessionError (line 288) | function onHttp2SessionError (err) { function onHttp2FrameError (line 295) | function onHttp2FrameError (type, code, id) { function onHttp2SessionEnd (line 303) | function onHttp2SessionEnd () { function onHttp2SessionGoAway (line 317) | function onHttp2SessionGoAway (errorCode) { function onHttp2SessionClose (line 350) | function onHttp2SessionClose () { function onHttp2SocketClose (line 376) | function onHttp2SocketClose () { function onHttp2SocketError (line 397) | function onHttp2SocketError (err) { function onHttp2SocketEnd (line 405) | function onHttp2SocketEnd () { function onSocketClose (line 409) | function onSocketClose () { function shouldSendContentLength (line 414) | function shouldSendContentLength (method) { function writeH2 (line 418) | function writeH2 (client, request) { function writeBuffer (line 855) | function writeBuffer (abort, h2stream, body, client, request, socket, co... function writeStream (line 878) | function writeStream (abort, socket, expectsPayload, h2stream, body, cli... function writeBlob (line 909) | async function writeBlob (abort, h2stream, body, client, request, socket... function writeIterable (line 937) | async function writeIterable (abort, h2stream, body, client, request, so... FILE: lib/dispatcher/client.js function getPipelining (line 74) | function getPipelining (client) { class Client (line 81) | class Client extends DispatcherBase { method constructor (line 87) | constructor (url, { method pipelining (line 292) | get pipelining () { method pipelining (line 296) | set pipelining (value) { method stats (line 301) | get stats () { method [kPending] (line 305) | get [kPending] () { method [kRunning] (line 309) | get [kRunning] () { method [kSize] (line 313) | get [kSize] () { method [kConnected] (line 317) | get [kConnected] () { method [kBusy] (line 321) | get [kBusy] () { method [kConnect] (line 329) | [kConnect] (cb) { method [kDispatch] (line 334) | [kDispatch] (opts, handler) { method [kClose] (line 355) | [kClose] () { method [kDestroy] (line 367) | [kDestroy] (err) { function onError (line 396) | function onError (client, err) { function connect (line 421) | function connect (client) { function handleConnectError (line 516) | function handleConnectError (client, err, { host, hostname, protocol, po... function emitDrain (line 552) | function emitDrain (client) { function resume (line 557) | function resume (client, sync) { function _resume (line 574) | function _resume (client, sync) { FILE: lib/dispatcher/dispatcher-base.js class DispatcherBase (line 15) | class DispatcherBase extends Dispatcher { method destroyed (line 29) | get destroyed () { method closed (line 34) | get closed () { method close (line 38) | close (callback) { method destroy (line 84) | destroy (err, callback) { method dispatch (line 132) | dispatch (opts, handler) { FILE: lib/dispatcher/dispatcher.js class Dispatcher (line 7) | class Dispatcher extends EventEmitter { method dispatch (line 8) | dispatch () { method close (line 12) | close () { method destroy (line 16) | destroy () { method compose (line 20) | compose (...args) { FILE: lib/dispatcher/env-http-proxy-agent.js constant DEFAULT_PORTS (line 8) | const DEFAULT_PORTS = { class EnvHttpProxyAgent (line 13) | class EnvHttpProxyAgent extends DispatcherBase { method constructor (line 18) | constructor (opts = {}) { method [kDispatch] (line 43) | [kDispatch] (opts, handler) { method [kClose] (line 49) | [kClose] () { method [kDestroy] (line 57) | [kDestroy] (err) { method #getProxyAgentForUrl (line 65) | #getProxyAgentForUrl (url) { method #shouldProxy (line 81) | #shouldProxy (hostname, port) { method #parseNoProxy (line 112) | #parseNoProxy () { method #noProxyChanged (line 134) | get #noProxyChanged () { method #noProxyEnv (line 141) | get #noProxyEnv () { FILE: lib/dispatcher/fixed-queue.js class FixedCircularBuffer (line 61) | class FixedCircularBuffer { method isEmpty (line 72) | isEmpty () { method isFull (line 77) | isFull () { method push (line 85) | push (data) { method shift (line 91) | shift () { method constructor (line 104) | constructor () { method isEmpty (line 110) | isEmpty () { method push (line 115) | push (data) { method shift (line 125) | shift () { FILE: lib/dispatcher/h2c-client.js class H2CClient (line 6) | class H2CClient extends Client { method constructor (line 7) | constructor (origin, clientOpts) { FILE: lib/dispatcher/pool-base.js class PoolBase (line 20) | class PoolBase extends DispatcherBase { method [kOnDrain] (line 29) | [kOnDrain] (client, origin, targets) { method [kBusy] (line 75) | get [kBusy] () { method [kConnected] (line 79) | get [kConnected] () { method [kFree] (line 87) | get [kFree] () { method [kPending] (line 95) | get [kPending] () { method [kRunning] (line 103) | get [kRunning] () { method [kSize] (line 111) | get [kSize] () { method stats (line 119) | get stats () { method [kClose] (line 123) | [kClose] () { method [kDestroy] (line 140) | [kDestroy] (err) { method [kDispatch] (line 156) | [kDispatch] (opts, handler) { method [kAddClient] (line 171) | [kAddClient] (client) { method [kRemoveClient] (line 191) | [kRemoveClient] (client) { FILE: lib/dispatcher/pool.js function defaultFactory (line 23) | function defaultFactory (origin, opts) { class Pool (line 27) | class Pool extends PoolBase { method constructor (line 28) | constructor (origin, { method [kGetDispatcher] (line 99) | [kGetDispatcher] () { FILE: lib/dispatcher/proxy-agent.js function defaultProtocolPort (line 21) | function defaultProtocolPort (protocol) { function defaultFactory (line 25) | function defaultFactory (origin, opts) { function defaultAgentFactory (line 31) | function defaultAgentFactory (origin, opts) { class Http1ProxyWrapper (line 38) | class Http1ProxyWrapper extends DispatcherBase { method constructor (line 41) | constructor (proxyUrl, { headers = {}, connect, factory }) { method [kDispatch] (line 56) | [kDispatch] (opts, handler) { method [kClose] (line 86) | [kClose] () { method [kDestroy] (line 90) | [kDestroy] (err) { class ProxyAgent (line 95) | class ProxyAgent extends DispatcherBase { method constructor (line 96) | constructor (opts) { method dispatch (line 232) | dispatch (opts, handler) { method #getUrl (line 254) | #getUrl (opts) { method [kClose] (line 264) | [kClose] () { method [kDestroy] (line 272) | [kDestroy] () { function buildHeaders (line 285) | function buildHeaders (headers) { function throwIfProxyAuthIsSent (line 310) | function throwIfProxyAuthIsSent (headers) { FILE: lib/dispatcher/retry-agent.js class RetryAgent (line 6) | class RetryAgent extends Dispatcher { method constructor (line 9) | constructor (agent, options = {}) { method dispatch (line 15) | dispatch (opts, handler) { method close (line 26) | close () { method destroy (line 30) | destroy () { FILE: lib/dispatcher/round-robin-pool.js function defaultFactory (line 24) | function defaultFactory (origin, opts) { class RoundRobinPool (line 28) | class RoundRobinPool extends PoolBase { method constructor (line 29) | constructor (origin, { method [kGetDispatcher] (line 96) | [kGetDispatcher] () { FILE: lib/dispatcher/socks5-proxy-agent.js class Socks5ProxyAgent (line 29) | class Socks5ProxyAgent extends DispatcherBase { method constructor (line 30) | constructor (proxyUrl, options = {}) { method createSocks5Connection (line 75) | async createSocks5Connection (targetHost, targetPort) { method [kDispatch] (line 174) | async [kDispatch] (opts, handler) { method [kClose] (line 236) | async [kClose] () { method [kDestroy] (line 242) | async [kDestroy] (err) { FILE: lib/encoding/index.js function utf8DecodeBytes (line 9) | function utf8DecodeBytes (buffer) { FILE: lib/global.js function setGlobalDispatcher (line 13) | function setGlobalDispatcher (agent) { function getGlobalDispatcher (line 25) | function getGlobalDispatcher () { FILE: lib/handler/cache-handler.js function noop (line 11) | function noop () {} constant HEURISTICALLY_CACHEABLE_STATUS_CODES (line 14) | const HEURISTICALLY_CACHEABLE_STATUS_CODES = [ constant NOT_UNDERSTOOD_STATUS_CODES (line 23) | const NOT_UNDERSTOOD_STATUS_CODES = [ constant MAX_RESPONSE_AGE (line 27) | const MAX_RESPONSE_AGE = 2147483647000 class CacheHandler (line 34) | class CacheHandler { method constructor (line 70) | constructor ({ store, type, cacheByDefault }, cacheKey, handler) { method onRequestStart (line 78) | onRequestStart (controller, context) { method onRequestUpgrade (line 84) | onRequestUpgrade (controller, statusCode, headers, socket) { method onResponseStart (line 94) | onResponseStart ( method onResponseData (line 316) | onResponseData (controller, chunk) { method onResponseEnd (line 324) | onResponseEnd (controller, trailers) { method onResponseError (line 329) | onResponseError (controller, err) { function canCacheResponse (line 344) | function canCacheResponse (cacheType, statusCode, resHeaders, cacheContr... function getAge (line 402) | function getAge (ageHeader) { function determineStaleAt (line 418) | function determineStaleAt (cacheType, now, age, resHeaders, responseDate... function determineDeleteAt (line 483) | function determineDeleteAt (now, cacheControlDirectives, staleAt) { function stripNecessaryHeaders (line 517) | function stripNecessaryHeaders (resHeaders, cacheControlDirectives) { function isValidDate (line 565) | function isValidDate (date) { FILE: lib/handler/cache-revalidation-handler.js class CacheRevalidationHandler (line 18) | class CacheRevalidationHandler { method constructor (line 43) | constructor (callback, handler, allowErrorStatusCodes) { method onRequestStart (line 53) | onRequestStart (_, context) { method onRequestUpgrade (line 58) | onRequestUpgrade (controller, statusCode, headers, socket) { method onResponseStart (line 62) | onResponseStart ( method onResponseData (line 90) | onResponseData (controller, chunk) { method onResponseEnd (line 98) | onResponseEnd (controller, trailers) { method onResponseError (line 106) | onResponseError (controller, err) { FILE: lib/handler/decorator-handler.js method constructor (line 15) | constructor (handler) { method onRequestStart (line 22) | onRequestStart (...args) { method onRequestUpgrade (line 26) | onRequestUpgrade (...args) { method onResponseStart (line 33) | onResponseStart (...args) { method onResponseData (line 43) | onResponseData (...args) { method onResponseEnd (line 50) | onResponseEnd (...args) { method onResponseError (line 58) | onResponseError (...args) { method onBodySent (line 66) | onBodySent () {} FILE: lib/handler/deduplication-handler.js constant DEFAULT_MAX_BUFFER_SIZE (line 9) | const DEFAULT_MAX_BUFFER_SIZE = 5 * 1024 * 1024 class DeduplicationHandler (line 27) | class DeduplicationHandler { method constructor (line 93) | constructor (primaryHandler, onComplete, maxBufferSize = DEFAULT_MAX_B... method addWaitingHandler (line 106) | addWaitingHandler (handler) { method onRequestStart (line 147) | onRequestStart (controller, context) { method onRequestUpgrade (line 158) | onRequestUpgrade (controller, statusCode, headers, socket) { method onResponseStart (line 168) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseData (line 207) | onResponseData (controller, chunk) { method onResponseEnd (line 249) | onResponseEnd (controller, trailers) { method onResponseError (line 292) | onResponseError (controller, err) { method #createWaitingHandler (line 314) | #createWaitingHandler (handler) { method #bufferWaitingChunk (line 384) | #bufferWaitingChunk (waitingHandler, chunk) { method #flushWaitingHandler (line 405) | #flushWaitingHandler (waitingHandler) { method #errorWaitingHandler (line 437) | #errorWaitingHandler (waitingHandler, err) { method #pruneDoneWaitingHandlers (line 455) | #pruneDoneWaitingHandlers () { FILE: lib/handler/redirect-handler.js class BodyAsyncIterable (line 15) | class BodyAsyncIterable { method constructor (line 16) | constructor (body) { method [Symbol.asyncIterator] (line 21) | async * [Symbol.asyncIterator] () { class RedirectHandler (line 28) | class RedirectHandler { method buildDispatch (line 29) | static buildDispatch (dispatcher, maxRedirections) { method constructor (line 38) | constructor (dispatch, maxRedirections, opts, handler) { method onRequestStart (line 86) | onRequestStart (controller, context) { method onRequestUpgrade (line 90) | onRequestUpgrade (controller, statusCode, headers, socket) { method onResponseStart (line 94) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseData (line 155) | onResponseData (controller, chunk) { method onResponseEnd (line 179) | onResponseEnd (controller, trailers) { method onResponseError (line 195) | onResponseError (controller, error) { function shouldRemoveHeader (line 201) | function shouldRemoveHeader (header, removeContent, unknownOrigin) { function cleanRequestHeaders (line 216) | function cleanRequestHeaders (headers, removeContent, unknownOrigin) { FILE: lib/handler/retry-handler.js function calculateRetryAfterHeader (line 13) | function calculateRetryAfterHeader (retryAfter) { class RetryHandler (line 18) | class RetryHandler { method constructor (line 19) | constructor (opts, { dispatch, handler }) { method onResponseStartWithRetry (line 74) | onResponseStartWithRetry (controller, statusCode, headers, statusMessa... method onRequestStart (line 116) | onRequestStart (controller, context) { method onRequestUpgrade (line 122) | onRequestUpgrade (controller, statusCode, headers, socket) { method [kRetryHandlerDefaultRetry] (line 126) | static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) { method onResponseStart (line 184) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseData (line 308) | onResponseData (controller, chunk) { method onResponseEnd (line 318) | onResponseEnd (controller, trailers) { method retry (line 331) | retry (controller) { method onResponseError (line 357) | onResponseError (controller, err) { FILE: lib/handler/unwrap-handler.js class UnwrapController (line 8) | class UnwrapController { method constructor (line 16) | constructor (abort) { method pause (line 20) | pause () { method resume (line 24) | resume () { method abort (line 31) | abort (reason) { method aborted (line 39) | get aborted () { method reason (line 43) | get reason () { method paused (line 47) | get paused () { method constructor (line 56) | constructor (handler) { method unwrap (line 60) | static unwrap (handler) { method onConnect (line 65) | onConnect (abort, context) { method onResponseStarted (line 70) | onResponseStarted () { method onUpgrade (line 74) | onUpgrade (statusCode, rawHeaders, socket) { method onHeaders (line 78) | onHeaders (statusCode, rawHeaders, resume, statusMessage) { method onData (line 84) | onData (data) { method onComplete (line 89) | onComplete (rawTrailers) { method onError (line 93) | onError (err) { FILE: lib/handler/wrap-handler.js method constructor (line 8) | constructor (handler) { method wrap (line 12) | static wrap (handler) { method onConnect (line 19) | onConnect (abort, context) { method onResponseStarted (line 23) | onResponseStarted () { method onHeaders (line 27) | onHeaders (statusCode, rawHeaders, resume, statusMessage) { method onUpgrade (line 31) | onUpgrade (statusCode, rawHeaders, socket) { method onData (line 35) | onData (data) { method onComplete (line 39) | onComplete (trailers) { method onError (line 43) | onError (err) { method onRequestStart (line 53) | onRequestStart (controller, context) { method onRequestUpgrade (line 57) | onRequestUpgrade (controller, statusCode, headers, socket) { method onResponseStart (line 66) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseData (line 77) | onResponseData (controller, data) { method onResponseEnd (line 83) | onResponseEnd (controller, trailers) { method onResponseError (line 92) | onResponseError (controller, err) { function toRawHeaderValue (line 101) | function toRawHeaderValue (value) { FILE: lib/interceptor/cache.js function assertCacheOrigins (line 16) | function assertCacheOrigins (origins, name) { function needsRevalidation (line 41) | function needsRevalidation (result, cacheControlDirectives, { headers = ... function isStale (line 65) | function isStale (result, cacheControlDirectives) { function withinStaleWhileRevalidateWindow (line 98) | function withinStaleWhileRevalidateWindow (result) { function handleUncachedResponse (line 117) | function handleUncachedResponse ( function sendCachedValue (line 168) | function sendCachedValue (handler, opts, result, age, context, isStale) { function handleResult (line 250) | function handleResult ( FILE: lib/interceptor/decompress.js class DecompressHandler (line 33) | class DecompressHandler extends DecoratorHandler { method constructor (line 41) | constructor (handler, { skipStatusCodes = defaultSkipStatusCodes, skip... method #shouldSkipDecompression (line 53) | #shouldSkipDecompression (contentEncoding, statusCode) { method #createDecompressionChain (line 67) | #createDecompressionChain (encodings) { method #setupDecompressorEvents (line 101) | #setupDecompressorEvents (decompressor, controller) { method #setupSingleDecompressor (line 122) | #setupSingleDecompressor (controller) { method #setupMultipleDecompressors (line 136) | #setupMultipleDecompressors (controller) { method #cleanupDecompressors (line 153) | #cleanupDecompressors () { method onResponseStart (line 164) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseData (line 198) | onResponseData (controller, chunk) { method onResponseEnd (line 211) | onResponseEnd (controller, trailers) { method onResponseError (line 225) | onResponseError (controller, err) { function createDecompressInterceptor (line 241) | function createDecompressInterceptor (options = {}) { FILE: lib/interceptor/dns.js function hasSafeIterator (line 8) | function hasSafeIterator (headers) { function isHostHeader (line 14) | function isHostHeader (key) { function normalizeHeaders (line 18) | function normalizeHeaders (headers) { function hasHostHeader (line 56) | function hasHostHeader (headers) { function withHostHeader (line 86) | function withHostHeader (host, headers) { class DNSStorage (line 107) | class DNSStorage { method constructor (line 111) | constructor (opts) { method size (line 115) | get size () { method get (line 119) | get (hostname) { method set (line 123) | set (hostname, records) { method delete (line 127) | delete (hostname) { method full (line 132) | full () { class DNSInstance (line 137) | class DNSInstance { method constructor (line 146) | constructor (opts) { method runLookup (line 156) | runLookup (origin, opts, cb) { method #defaultLookup (line 241) | #defaultLookup (origin, opts, cb) { method #defaultPick (line 267) | #defaultPick (origin, hostnameRecords, affinity) { method pickFamily (line 321) | pickFamily (origin, ipFamily) { method setRecords (line 353) | setRecords (origin, addresses) { method deleteRecords (line 377) | deleteRecords (origin) { method getHandler (line 381) | getHandler (meta, opts) { class DNSDispatchHandler (line 386) | class DNSDispatchHandler extends DecoratorHandler { method constructor (line 395) | constructor (state, { origin, handler, dispatch, newOrigin }, opts) { method onResponseError (line 404) | onResponseError (controller, err) { FILE: lib/interceptor/dump.js class DumpHandler (line 6) | class DumpHandler extends DecoratorHandler { method constructor (line 14) | constructor ({ maxSize, signal }, handler) { method #abort (line 25) | #abort (reason) { method onRequestStart (line 30) | onRequestStart (controller, context) { method onResponseStart (line 37) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseError (line 55) | onResponseError (controller, err) { method onResponseData (line 66) | onResponseData (controller, chunk) { method onResponseEnd (line 82) | onResponseEnd (controller, trailers) { function createDumpInterceptor (line 96) | function createDumpInterceptor ( FILE: lib/interceptor/redirect.js function createRedirectInterceptor (line 5) | function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirec... FILE: lib/interceptor/response-error.js class ResponseErrorHandler (line 7) | class ResponseErrorHandler extends DecoratorHandler { method constructor (line 14) | constructor (_opts, { handler }) { method #checkContentType (line 18) | #checkContentType (contentType) { method onRequestStart (line 22) | onRequestStart (controller, context) { method onResponseStart (line 32) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseData (line 46) | onResponseData (controller, chunk) { method onResponseEnd (line 54) | onResponseEnd (controller, trailers) { method onResponseError (line 84) | onResponseError (controller, err) { FILE: lib/llhttp/constants.d.ts type IntDict (line 1) | type IntDict = Record; type CharList (line 18) | type CharList = (string | number)[]; FILE: lib/llhttp/utils.js function enumToMap (line 4) | function enumToMap(obj, filter = [], exceptions = []) { FILE: lib/mock/mock-agent.js class MockAgent (line 31) | class MockAgent extends Dispatcher { method constructor (line 32) | constructor (opts = {}) { method get (line 58) | get (origin) { method dispatch (line 72) | dispatch (opts, handler) { method close (line 93) | async close () { method deactivate (line 99) | deactivate () { method activate (line 103) | activate () { method enableNetConnect (line 107) | enableNetConnect (matcher) { method disableNetConnect (line 121) | disableNetConnect () { method enableCallHistory (line 125) | enableCallHistory () { method disableCallHistory (line 131) | disableCallHistory () { method getCallHistory (line 137) | getCallHistory () { method clearCallHistory (line 141) | clearCallHistory () { method isMockActive (line 149) | get isMockActive () { method [kMockAgentRegisterCallHistory] (line 153) | [kMockAgentRegisterCallHistory] () { method [kMockAgentAddCallHistoryLog] (line 159) | [kMockAgentAddCallHistoryLog] (opts) { method [kMockAgentSet] (line 169) | [kMockAgentSet] (origin, dispatcher) { method [kFactory] (line 173) | [kFactory] (origin) { method [kMockAgentGet] (line 180) | [kMockAgentGet] (origin) { method [kGetNetConnect] (line 205) | [kGetNetConnect] () { method pendingInterceptors (line 209) | pendingInterceptors () { method assertNoPendingInterceptors (line 217) | assertNoPendingInterceptors ({ pendingInterceptorsFormatter = new Pend... FILE: lib/mock/mock-call-history.js function handleFilterCallsWithOptions (line 6) | function handleFilterCallsWithOptions (criteria, options, handler, store) { function buildAndValidateFilterCallsOptions (line 20) | function buildAndValidateFilterCallsOptions (options = {}) { function makeFilterCalls (line 37) | function makeFilterCalls (parameterName) { function computeUrlWithMaybeSearchParameters (line 53) | function computeUrlWithMaybeSearchParameters (requestInit) { class MockCallHistoryLog (line 74) | class MockCallHistoryLog { method constructor (line 75) | constructor (requestInit = {}) { method toMap (line 92) | toMap () { method toString (line 108) | toString () { class MockCallHistory (line 127) | class MockCallHistory { method calls (line 130) | calls () { method firstCall (line 134) | firstCall () { method lastCall (line 138) | lastCall () { method nthCall (line 142) | nthCall (number) { method filterCalls (line 157) | filterCalls (criteria, options) { method clear (line 228) | clear () { method [kMockCallHistoryAddLog] (line 232) | [kMockCallHistoryAddLog] (requestInit) { method [Symbol.iterator] (line 240) | * [Symbol.iterator] () { FILE: lib/mock/mock-client.js class MockClient (line 23) | class MockClient extends Client { method constructor (line 24) | constructor (origin, opts) { method intercept (line 50) | intercept (opts) { method cleanMocks (line 57) | cleanMocks () { method [kClose] (line 61) | async [kClose] () { method [Symbols.kConnected] (line 43) | get [Symbols.kConnected] () { FILE: lib/mock/mock-errors.js class MockNotMatchedError (line 10) | class MockNotMatchedError extends UndiciError { method constructor (line 11) | constructor (message) { method [kMockNotMatchedError] (line 22) | get [kMockNotMatchedError] () { method [Symbol.hasInstance] (line 18) | static [Symbol.hasInstance] (instance) { FILE: lib/mock/mock-interceptor.js class MockScope (line 19) | class MockScope { method constructor (line 20) | constructor (mockDispatch) { method delay (line 27) | delay (waitInMs) { method persist (line 39) | persist () { method times (line 47) | times (repeatTimes) { class MockInterceptor (line 60) | class MockInterceptor { method constructor (line 61) | constructor (opts, mockDispatches) { method createMockScopeDispatchData (line 95) | createMockScopeDispatchData ({ statusCode, data, responseOptions }) { method validateReplyParameters (line 104) | validateReplyParameters (replyParameters) { method reply (line 116) | reply (replyOptionsCallbackOrStatusCode) { method replyWithError (line 166) | replyWithError (error) { method defaultReplyHeaders (line 178) | defaultReplyHeaders (headers) { method defaultReplyTrailers (line 190) | defaultReplyTrailers (trailers) { method replyContentLength (line 202) | replyContentLength () { FILE: lib/mock/mock-pool.js class MockPool (line 23) | class MockPool extends Pool { method constructor (line 24) | constructor (origin, opts) { method intercept (line 50) | intercept (opts) { method cleanMocks (line 57) | cleanMocks () { method [kClose] (line 61) | async [kClose] () { method [Symbols.kConnected] (line 43) | get [Symbols.kConnected] () { FILE: lib/mock/mock-utils.js function matchValue (line 20) | function matchValue (match, value) { function lowerCaseEntries (line 33) | function lowerCaseEntries (headers) { function getHeaderByName (line 45) | function getHeaderByName (headers, key) { function buildHeadersFromArray (line 62) | function buildHeadersFromArray (headers) { // fetch HeadersList function matchHeaders (line 71) | function matchHeaders (mockDispatch, headers) { function normalizeSearchParams (line 95) | function normalizeSearchParams (query) { function safeUrl (line 126) | function safeUrl (path) { function matchKey (line 140) | function matchKey (mockDispatch, { path, method, body, headers }) { function getResponseData (line 148) | function getResponseData (data) { function getMockDispatch (line 164) | function getMockDispatch (mockDispatches, key) { function addMockDispatch (line 204) | function addMockDispatch (mockDispatches, key, data, opts) { function deleteMockDispatch (line 212) | function deleteMockDispatch (mockDispatches, key) { function removeTrailingSlash (line 227) | function removeTrailingSlash (path) { function buildKey (line 239) | function buildKey (opts) { function generateKeyValues (line 251) | function generateKeyValues (data) { function getStatusText (line 273) | function getStatusText (statusCode) { function getResponse (line 277) | async function getResponse (body) { function mockDispatch (line 288) | function mockDispatch (opts, handler) { function buildMockDispatch (line 392) | function buildMockDispatch () { function checkNetConnect (line 422) | function checkNetConnect (netConnect, origin) { function normalizeOrigin (line 432) | function normalizeOrigin (origin) { function buildAndValidateMockOptions (line 444) | function buildAndValidateMockOptions (opts) { FILE: lib/mock/pending-interceptors-formatter.js constant PERSISTENT (line 6) | const PERSISTENT = process.versions.icu ? '✅' : 'Y ' constant NOT_PERSISTENT (line 7) | const NOT_PERSISTENT = process.versions.icu ? '❌' : 'N ' method constructor (line 13) | constructor ({ disableColors } = {}) { method format (line 28) | format (pendingInterceptors) { FILE: lib/mock/snapshot-agent.js class SnapshotAgent (line 19) | class SnapshotAgent extends MockAgent { method constructor (line 20) | constructor (opts = {}) { method dispatch (line 81) | dispatch (opts, handler) { method #asyncDispatch (line 125) | async #asyncDispatch (opts, handler) { method #recordAndReplay (line 133) | #recordAndReplay (opts, handler) { method #replaySnapshot (line 191) | #replaySnapshot (snapshot, handler) { method loadSnapshots (line 227) | async loadSnapshots (filePath) { method saveSnapshots (line 243) | async saveSnapshots (filePath) { method #setupMockInterceptors (line 260) | #setupMockInterceptors () { method getRecorder (line 287) | getRecorder () { method getMode (line 295) | getMode () { method clearSnapshots (line 303) | clearSnapshots () { method resetCallCounts (line 311) | resetCallCounts () { method deleteSnapshot (line 320) | deleteSnapshot (requestOpts) { method getSnapshotInfo (line 328) | getSnapshotInfo (requestOpts) { method replaceSnapshots (line 337) | replaceSnapshots (snapshotData) { method close (line 346) | async close () { FILE: lib/mock/snapshot-recorder.js function formatRequestKey (line 91) | function formatRequestKey (opts, headerFilters, matchOptions = {}) { function filterHeadersForMatching (line 115) | function filterHeadersForMatching (headers, headerFilters, matchOptions ... function filterHeadersForStorage (line 152) | function filterHeadersForStorage (headers, headerFilters, matchOptions =... function createRequestHash (line 181) | function createRequestHash (formattedRequest) { class SnapshotRecorder (line 213) | class SnapshotRecorder { method constructor (line 239) | constructor (options = {}) { method record (line 279) | async record (requestOpts, response) { method isUrlExcluded (line 337) | isUrlExcluded (requestOpts) { method findSnapshot (line 349) | findSnapshot (requestOpts) { method loadSnapshots (line 382) | async loadSnapshots (filePath) { method saveSnapshots (line 418) | async saveSnapshots (filePath) { method clear (line 442) | clear () { method getSnapshots (line 450) | getSnapshots () { method size (line 458) | size () { method resetCallCounts (line 466) | resetCallCounts () { method deleteSnapshot (line 477) | deleteSnapshot (requestOpts) { method getSnapshotInfo (line 488) | getSnapshotInfo (requestOpts) { method replaceSnapshots (line 509) | replaceSnapshots (snapshotData) { method #startAutoFlush (line 526) | #startAutoFlush () { method #stopAutoFlush (line 534) | #stopAutoFlush () { method #scheduleFlush (line 548) | #scheduleFlush () { method destroy (line 565) | destroy () { method close (line 577) | async close () { FILE: lib/mock/snapshot-utils.js function createHeaderFilters (line 19) | function createHeaderFilters (matchOptions = {}) { function isUndiciHeaders (line 59) | function isUndiciHeaders (headers) { function isUrlExcludedFactory (line 68) | function isUrlExcludedFactory (excludePatterns = []) { function normalizeHeaders (line 104) | function normalizeHeaders (headers) { function validateSnapshotMode (line 145) | function validateSnapshotMode (mode) { FILE: lib/util/cache.js function makeCacheKey (line 14) | function makeCacheKey (opts) { function normalizeHeaders (line 37) | function normalizeHeaders (opts) { function assertCacheKey (line 70) | function assertCacheKey (key) { function assertCacheValue (line 89) | function assertCacheValue (value) { function parseCacheControlHeader (line 124) | function parseCacheControlHeader (header) { function parseVaryHeader (line 280) | function parseVaryHeader (varyHeader, headers) { function isEtagUsable (line 309) | function isEtagUsable (etag) { function assertCacheStore (line 338) | function assertCacheStore (store, name = 'CacheStore') { function assertCacheMethods (line 353) | function assertCacheMethods (methods, name = 'CacheMethods') { function makeDeduplicationKey (line 376) | function makeDeduplicationKey (cacheKey, excludeHeaders) { FILE: lib/util/date.js function parseHttpDate (line 9) | function parseHttpDate (date) { function parseImfDate (line 27) | function parseImfDate (date) { function parseAscTimeDate (line 237) | function parseAscTimeDate (date) { function parseRfc850Date (line 442) | function parseRfc850Date (date) { FILE: lib/util/promise.js function createDeferredPromise (line 15) | function createDeferredPromise () { FILE: lib/util/runtime-features.js function detectRuntimeFeatureByNodeModule (line 18) | function detectRuntimeFeatureByNodeModule (moduleName) { function detectRuntimeFeatureByExportedProperty (line 35) | function detectRuntimeFeatureByExportedProperty (moduleName, property) { function detectRuntimeFeature (line 64) | function detectRuntimeFeature (feature) { class RuntimeFeatures (line 78) | class RuntimeFeatures { method clear (line 85) | clear () { method has (line 93) | has (feature) { method set (line 103) | set (feature, value) { method #detectRuntimeFeature (line 114) | #detectRuntimeFeature (feature) { FILE: lib/util/stats.js class ClientStats (line 12) | class ClientStats { method constructor (line 13) | constructor (client) { class PoolStats (line 21) | class PoolStats { method constructor (line 22) | constructor (pool) { FILE: lib/util/timers.js constant RESOLUTION_MS (line 30) | const RESOLUTION_MS = 1e3 constant TICK_MS (line 40) | const TICK_MS = (RESOLUTION_MS >> 1) - 1 constant NOT_IN_LIST (line 78) | const NOT_IN_LIST = -2 constant TO_BE_CLEARED (line 90) | const TO_BE_CLEARED = -1 constant PENDING (line 99) | const PENDING = 0 constant ACTIVE (line 108) | const ACTIVE = 1 function onTick (line 115) | function onTick () { function refreshTimeout (line 190) | function refreshTimeout () { class FastTimer (line 213) | class FastTimer { method constructor (line 269) | constructor (callback, delay, arg) { method refresh (line 286) | refresh () { method clear (line 311) | clear () { method setTimeout (line 338) | setTimeout (callback, delay, arg) { method clearTimeout (line 351) | clearTimeout (timeout) { method setFastTimeout (line 375) | setFastTimeout (callback, delay, arg) { method clearFastTimeout (line 384) | clearFastTimeout (timeout) { method now (line 392) | now () { method tick (line 402) | tick (delay = 0) { method reset (line 413) | reset () { FILE: lib/web/cache/cache.js class Cache (line 29) | class Cache { method constructor (line 36) | constructor () { method match (line 45) | async match (request, options = {}) { method matchAll (line 63) | async matchAll (request = undefined, options = {}) { method add (line 73) | async add (request) { method addAll (line 91) | async addAll (requests) { method put (line 261) | async put (request, response) { method delete (line 392) | async delete (request, options = {}) { method keys (line 458) | async keys (request = undefined, options = {}) { method #batchCacheOperations (line 539) | #batchCacheOperations (operations) { method #queryCache (line 677) | #queryCache (requestQuery, options, targetStorage) { method #requestMatchesCachedItem (line 701) | #requestMatchesCachedItem (requestQuery, request, response = null, opt... method #internalMatchAll (line 748) | #internalMatchAll (request, options, maxResponses = Infinity) { FILE: lib/web/cache/cachestorage.js class CacheStorage (line 8) | class CacheStorage { method constructor (line 15) | constructor () { method match (line 23) | async match (request, options = {}) { method has (line 60) | async has (cacheName) { method open (line 78) | async open (cacheName) { method delete (line 112) | async delete (cacheName) { method keys (line 127) | async keys () { FILE: lib/web/cache/util.js function urlEquals (line 14) | function urlEquals (A, B, excludeFragment = false) { function getFieldValues (line 26) | function getFieldValues (header) { FILE: lib/web/cookies/index.js function getCookies (line 28) | function getCookies (headers) { function deleteCookie (line 57) | function deleteCookie (headers, name, attributes) { function getSetCookies (line 80) | function getSetCookies (headers) { function parseCookie (line 98) | function parseCookie (cookie) { function setCookie (line 109) | function setCookie (headers, cookie) { FILE: lib/web/cookies/parse.js function parseSetCookie (line 15) | function parseSetCookie (header) { function parseUnparsedAttributes (line 95) | function parseUnparsedAttributes (unparsedAttributes, cookieAttributeLis... FILE: lib/web/cookies/util.js function isCTLExcludingHtab (line 7) | function isCTLExcludingHtab (value) { function validateCookieName (line 31) | function validateCookieName (name) { function validateCookieValue (line 69) | function validateCookieValue (value) { function validateCookiePath (line 102) | function validateCookiePath (path) { function validateCookieDomain (line 121) | function validateCookieDomain (domain) { function toIMFDate (line 184) | function toIMFDate (date) { function validateCookieMaxAge (line 199) | function validateCookieMaxAge (maxAge) { function stringify (line 209) | function stringify (cookie) { FILE: lib/web/eventsource/eventsource-stream.js constant BOM (line 8) | const BOM = [0xEF, 0xBB, 0xBF] constant COLON (line 20) | const COLON = 0x3A constant SPACE (line 24) | const SPACE = 0x20 class EventSourceStream (line 43) | class EventSourceStream extends Transform { method constructor (line 85) | constructor (options = {}) { method _transform (line 104) | _transform (chunk, _encoding, callback) { method parseLine (line 286) | parseLine (line, event) { method processEvent (line 365) | processEvent (event) { method clearEvent (line 387) | clearEvent () { FILE: lib/web/eventsource/eventsource.js constant CONNECTING (line 41) | const CONNECTING = 0 constant OPEN (line 48) | const OPEN = 1 constant CLOSED (line 54) | const CLOSED = 2 constant ANONYMOUS (line 60) | const ANONYMOUS = 'anonymous' constant USE_CREDENTIALS (line 66) | const USE_CREDENTIALS = 'use-credentials' class EventSource (line 76) | class EventSource extends EventTarget { method constructor (line 107) | constructor (url, eventSourceInitDict = {}) { method readyState (line 200) | get readyState () { method url (line 209) | get url () { method withCredentials (line 217) | get withCredentials () { method #connect (line 221) | #connect () { method #reconnect (line 322) | #reconnect () { method close (line 367) | close () { method onopen (line 376) | get onopen () { method onopen (line 380) | set onopen (fn) { method onmessage (line 395) | get onmessage () { method onmessage (line 399) | set onmessage (fn) { method onerror (line 414) | get onerror () { method onerror (line 418) | set onerror (fn) { FILE: lib/web/eventsource/util.js function isValidLastEventId (line 8) | function isValidLastEventId (value) { function isASCIINumber (line 18) | function isASCIINumber (value) { FILE: lib/web/fetch/body.js function noop (line 27) | function noop () {} function extractBody (line 45) | function extractBody (object, keepalive = false) { function safelyExtractBody (line 267) | function safelyExtractBody (object, keepalive = false) { function cloneBody (line 282) | function cloneBody (body) { function bodyMixinMethods (line 301) | function bodyMixinMethods (instance, getInternalState) { function mixinBody (line 407) | function mixinBody (prototype, getInternalState) { function consumeBody (line 418) | function consumeBody (object, convertBytesToJSValue, instance, getIntern... function bodyUnusable (line 470) | function bodyUnusable (object) { function bodyMimeType (line 483) | function bodyMimeType (requestOrResponse) { FILE: lib/web/fetch/data-url.js constant HTTP_TOKEN_CODEPOINTS (line 11) | const HTTP_TOKEN_CODEPOINTS = /^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u constant HTTP_WHITESPACE_REGEX (line 12) | const HTTP_WHITESPACE_REGEX = /[\u000A\u000D\u0009\u0020]/u constant HTTP_QUOTED_STRING_TOKENS (line 17) | const HTTP_QUOTED_STRING_TOKENS = /^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u function dataURLProcessor (line 21) | function dataURLProcessor (dataURL) { function URLSerializer (line 123) | function URLSerializer (url, excludeFragment = false) { function stringPercentDecode (line 142) | function stringPercentDecode (input) { function isHexCharByte (line 153) | function isHexCharByte (byte) { function hexByteToNumber (line 161) | function hexByteToNumber (byte) { function percentDecode (line 174) | function percentDecode (input) { function parseMIMEType (line 219) | function parseMIMEType (input) { function collectAnHTTPQuotedString (line 397) | function collectAnHTTPQuotedString (input, position, extractValue = fals... function serializeAMimeType (line 472) | function serializeAMimeType (mimeType) { function isHTTPWhiteSpace (line 517) | function isHTTPWhiteSpace (char) { function removeHTTPWhitespace (line 528) | function removeHTTPWhitespace (str, leading = true, trailing = true) { function minimizeSupportedMimeType (line 536) | function minimizeSupportedMimeType (mimeType) { FILE: lib/web/fetch/formdata-parser.js function isAsciiString (line 17) | function isAsciiString (chars) { function validateBoundary (line 30) | function validateBoundary (boundary) { function multipartFormDataParser (line 64) | function multipartFormDataParser (input, mimeType) { function parseContentDispositionAttribute (line 209) | function parseContentDispositionAttribute (input, position) { function parseMultipartFormDataHeaders (line 315) | function parseMultipartFormDataHeaders (input, position) { function collectASequenceOfBytes (line 464) | function collectASequenceOfBytes (condition, input, position) { function removeChars (line 481) | function removeChars (buf, leading, trailing, predicate) { function bufferStartsWith (line 502) | function bufferStartsWith (buffer, start, position) { function parsingError (line 516) | function parsingError (cause) { function isCTL (line 525) | function isCTL (char) { function isTSpecial (line 537) | function isTSpecial (char) { function isToken (line 562) | function isToken (char) { FILE: lib/web/fetch/formdata.js class FormData (line 9) | class FormData { method constructor (line 12) | constructor (form = undefined) { method append (line 24) | append (name, value, filename = undefined) { method delete (line 52) | delete (name) { method get (line 65) | get (name) { method getAll (line 85) | getAll (name) { method has (line 102) | has (name) { method set (line 115) | set (name, value, filename = undefined) { method getFormDataState (line 184) | static getFormDataState (formData) { method setFormDataState (line 192) | static setFormDataState (formData, newState) { method [nodeUtil.inspect.custom] (line 157) | [nodeUtil.inspect.custom] (depth, options) { function makeEntry (line 223) | function makeEntry (name, value, filename) { FILE: lib/web/fetch/global.js function getGlobalOrigin (line 7) | function getGlobalOrigin () { function setGlobalOrigin (line 11) | function setGlobalOrigin (newOrigin) { FILE: lib/web/fetch/headers.js function isHTTPWhiteSpaceCharCode (line 20) | function isHTTPWhiteSpaceCharCode (code) { function headerValueNormalize (line 29) | function headerValueNormalize (potentialValue) { function fill (line 45) | function fill (headers, object) { function appendHeader (line 88) | function appendHeader (headers, name, value) { function headersListSortAndCombine (line 132) | function headersListSortAndCombine (target) { function compareHeaderName (line 189) | function compareHeaderName (a, b) { class HeadersList (line 193) | class HeadersList { method constructor (line 200) | constructor (init) { method contains (line 216) | contains (name, isLowerCase) { method clear (line 224) | clear () { method append (line 236) | append (name, value, isLowerCase) { method set (line 266) | set (name, value, isLowerCase) { method delete (line 286) | delete (name, isLowerCase) { method get (line 303) | get (name, isLowerCase) { method entries (line 318) | get entries () { method rawValues (line 330) | rawValues () { method entriesList (line 334) | get entriesList () { method toSortedArray (line 353) | toSortedArray () { method [Symbol.iterator] (line 311) | * [Symbol.iterator] () { class Headers (line 427) | class Headers { method constructor (line 438) | constructor (init = undefined) { method append (line 460) | append (name, value) { method delete (line 473) | delete (name) { method get (line 517) | get (name) { method has (line 540) | has (name) { method set (line 563) | set (name, value) { method getSetCookie (line 611) | getSetCookie () { method getHeadersGuard (line 633) | static getHeadersGuard (o) { method setHeadersGuard (line 637) | static setHeadersGuard (o, guard) { method getHeadersList (line 644) | static getHeadersList (o) { method setHeadersList (line 652) | static setHeadersList (target, list) { method [util.inspect.custom] (line 627) | [util.inspect.custom] (depth, options) { FILE: lib/web/fetch/index.js constant GET_OR_HEAD (line 74) | const GET_OR_HEAD = ['GET', 'HEAD'] class Fetch (line 83) | class Fetch extends EE { method constructor (line 84) | constructor (dispatcher) { method terminate (line 93) | terminate (reason) { method abort (line 104) | abort (error) { function handleFetchDone (line 130) | function handleFetchDone (response) { function fetch (line 135) | function fetch (input, init = undefined) { function finalizeAndReportTiming (line 265) | function finalizeAndReportTiming (response, initiatorType = 'other') { function abortFetch (line 333) | function abortFetch (p, request, responseObject, error, controller /* un... function fetching (line 368) | function fetching ({ function mainFetch (line 525) | async function mainFetch (fetchParams, recursive) { function schemeFetch (line 775) | function schemeFetch (fetchParams) { function finalizeResponse (line 972) | function finalizeResponse (fetchParams, response) { function fetchFinale (line 985) | function fetchFinale (fetchParams, response) { function httpFetch (line 1111) | async function httpFetch (fetchParams) { function httpRedirectFetch (line 1214) | function httpRedirectFetch (fetchParams, response) { function httpNetworkOrCacheFetch (line 1358) | async function httpNetworkOrCacheFetch ( function httpNetworkFetch (line 1757) | async function httpNetworkFetch ( FILE: lib/web/fetch/request.js function buildAbort (line 47) | function buildAbort (acRef) { class Request (line 88) | class Request { method constructor (line 101) | constructor (input, init = undefined) { method method (line 584) | get method () { method url (line 592) | get url () { method headers (line 602) | get headers () { method destination (line 611) | get destination () { method referrer (line 623) | get referrer () { method referrerPolicy (line 645) | get referrerPolicy () { method mode (line 655) | get mode () { method credentials (line 665) | get credentials () { method cache (line 675) | get cache () { method redirect (line 686) | get redirect () { method integrity (line 696) | get integrity () { method keepalive (line 706) | get keepalive () { method isReloadNavigation (line 715) | get isReloadNavigation () { method isHistoryNavigation (line 725) | get isHistoryNavigation () { method signal (line 736) | get signal () { method body (line 743) | get body () { method bodyUsed (line 749) | get bodyUsed () { method duplex (line 755) | get duplex () { method clone (line 762) | clone () { method setRequestSignal (line 829) | static setRequestSignal (request, newSignal) { method getRequestDispatcher (line 837) | static getRequestDispatcher (request) { method setRequestDispatcher (line 845) | static setRequestDispatcher (request, newDispatcher) { method setRequestHeaders (line 853) | static setRequestHeaders (request, newHeaders) { method getRequestState (line 860) | static getRequestState (request) { method setRequestState (line 868) | static setRequestState (request, newState) { method [nodeUtil.inspect.custom] (line 797) | [nodeUtil.inspect.custom] (depth, options) { function makeRequest (line 884) | function makeRequest (init) { function cloneRequest (line 932) | function cloneRequest (request) { function fromInnerRequest (line 956) | function fromInnerRequest (innerRequest, dispatcher, signal, guard) { FILE: lib/web/fetch/response.js class Response (line 28) | class Response { method error (line 35) | static error () { method json (line 45) | static json (data, init = undefined) { method redirect (line 72) | static redirect (url, status = 302) { method constructor (line 112) | constructor (body = null, init = undefined) { method type (line 149) | get type () { method url (line 157) | get url () { method redirected (line 175) | get redirected () { method status (line 184) | get status () { method ok (line 192) | get ok () { method statusText (line 201) | get statusText () { method headers (line 210) | get headers () { method body (line 217) | get body () { method bodyUsed (line 223) | get bodyUsed () { method clone (line 230) | clone () { method getResponseHeaders (line 280) | static getResponseHeaders (response) { method setResponseHeaders (line 288) | static setResponseHeaders (response, newHeaders) { method getResponseState (line 295) | static getResponseState (response) { method setResponseState (line 303) | static setResponseState (response, newState) { method [nodeUtil.inspect.custom] (line 255) | [nodeUtil.inspect.custom] (depth, options) { function cloneResponse (line 340) | function cloneResponse (response) { function makeResponse (line 366) | function makeResponse (init) { function makeNetworkError (line 385) | function makeNetworkError (reason) { function isNetworkError (line 398) | function isNetworkError (response) { function makeFilteredResponse (line 407) | function makeFilteredResponse (response, state) { function filterResponse (line 426) | function filterResponse (response, type) { function makeAppropriateNetworkError (line 480) | function makeAppropriateNetworkError (fetchParams, err = null) { function initializeResponse (line 492) | function initializeResponse (response, init, body) { function fromInnerResponse (line 551) | function fromInnerResponse (innerResponse, guard) { FILE: lib/web/fetch/util.js function responseURL (line 15) | function responseURL (response) { function responseLocationURL (line 25) | function responseLocationURL (response, requestFragment) { function isValidEncodedURL (line 62) | function isValidEncodedURL (url) { function normalizeBinaryStringToUtf8 (line 82) | function normalizeBinaryStringToUtf8 (value) { function requestCurrentURL (line 87) | function requestCurrentURL (request) { function requestBadPort (line 91) | function requestBadPort (request) { function isErrorLike (line 105) | function isErrorLike (object) { function isValidReasonPhrase (line 118) | function isValidReasonPhrase (statusText) { function isValidHeaderValue (line 146) | function isValidHeaderValue (potentialValue) { function parseReferrerPolicy (line 164) | function parseReferrerPolicy (actualResponse) { function setRequestReferrerPolicyOnRedirect (line 201) | function setRequestReferrerPolicyOnRedirect (request, actualResponse) { function crossOriginResourcePolicyCheck (line 213) | function crossOriginResourcePolicyCheck () { function corsCheck (line 219) | function corsCheck () { function TAOCheck (line 225) | function TAOCheck () { function appendFetchMetadata (line 230) | function appendFetchMetadata (httpRequest) { function appendRequestOriginHeader (line 256) | function appendRequestOriginHeader (request) { function coarsenTime (line 311) | function coarsenTime (timestamp, crossOriginIsolatedCapability) { function clampAndCoarsenConnectionTimingInfo (line 317) | function clampAndCoarsenConnectionTimingInfo (connectionTimingInfo, defa... function coarsenedSharedCurrentTime (line 340) | function coarsenedSharedCurrentTime (crossOriginIsolatedCapability) { function createOpaqueTimingInfo (line 345) | function createOpaqueTimingInfo (timingInfo) { function makePolicyContainer (line 362) | function makePolicyContainer () { function clonePolicyContainer (line 370) | function clonePolicyContainer (policyContainer) { function determineRequestsReferrer (line 381) | function determineRequestsReferrer (request) { function stripURLForReferrer (line 524) | function stripURLForReferrer (url, originOnly = false) { function isOriginIPPotentiallyTrustworthy (line 570) | function isOriginIPPotentiallyTrustworthy (origin) { function isOriginPotentiallyTrustworthy (line 595) | function isOriginPotentiallyTrustworthy (origin) { function isURLPotentiallyTrustworthy (line 656) | function isURLPotentiallyTrustworthy (url) { function tryUpgradeRequestToAPotentiallyTrustworthyURL (line 683) | function tryUpgradeRequestToAPotentiallyTrustworthyURL (request) { function sameOrigin (line 692) | function sameOrigin (A, B) { function isAborted (line 708) | function isAborted (fetchParams) { function isCancelled (line 712) | function isCancelled (fetchParams) { function normalizeMethod (line 721) | function normalizeMethod (method) { function createIterator (line 735) | function createIterator (name, kInternalIterator, keyIndex = 0, valueInd... function iteratorMixin (line 871) | function iteratorMixin (name, object, kInternalIterator, keyIndex = 0, v... function fullyReadBody (line 940) | function fullyReadBody (body, processBody, processBodyError) { function readableStreamClose (line 968) | function readableStreamClose (controller) { function readAllBytes (line 988) | async function readAllBytes (reader, successSteps, failureSteps) { function urlIsLocal (line 1026) | function urlIsLocal (url) { function urlHasHttpsScheme (line 1040) | function urlHasHttpsScheme (url) { function urlIsHttpHttpsScheme (line 1059) | function urlIsHttpHttpsScheme (url) { function simpleRangeHeaderValue (line 1079) | function simpleRangeHeaderValue (value, allowWhitespace) { function buildContentRange (line 1212) | function buildContentRange (rangeStart, rangeEnd, fullLength) { class InflateStream (line 1240) | class InflateStream extends Transform { method constructor (line 1244) | constructor (zlibOptions) { method _transform (line 1249) | _transform (chunk, encoding, callback) { method _final (line 1267) | _final (callback) { function createInflate (line 1280) | function createInflate (zlibOptions) { function extractMimeType (line 1288) | function extractMimeType (headers) { function gettingDecodingSplitting (line 1352) | function gettingDecodingSplitting (value) { function getDecodeSplit (line 1419) | function getDecodeSplit (name, list) { function hasAuthenticationEntry (line 1432) | function hasAuthenticationEntry (request) { function includesCredentials (line 1440) | function includesCredentials (url) { function isTraversableNavigable (line 1449) | function isTraversableNavigable (navigable) { class EnvironmentSettingsObjectBase (line 1454) | class EnvironmentSettingsObjectBase { method baseUrl (line 1455) | get baseUrl () { method origin (line 1459) | get origin () { class EnvironmentSettingsObject (line 1466) | class EnvironmentSettingsObject { FILE: lib/web/infra/index.js function collectASequenceOfCodePoints (line 14) | function collectASequenceOfCodePoints (condition, input, position) { function collectASequenceOfCodePointsFast (line 41) | function collectASequenceOfCodePointsFast (char, input, position) { constant ASCII_WHITESPACE_REPLACE_REGEX (line 54) | const ASCII_WHITESPACE_REPLACE_REGEX = /[\u0009\u000A\u000C\u000D\u0020]/g function forgivingBase64 (line 62) | function forgivingBase64 (data) { function isASCIIWhitespace (line 105) | function isASCIIWhitespace (char) { function isomorphicDecode (line 121) | function isomorphicDecode (input) { function isomorphicEncode (line 149) | function isomorphicEncode (input) { function parseJSONFromBytes (line 163) | function parseJSONFromBytes (bytes) { function removeASCIIWhitespace (line 175) | function removeASCIIWhitespace (str, leading = true, trailing = true) { function removeChars (line 186) | function removeChars (str, leading, trailing, predicate) { function serializeJavascriptValueToJSONString (line 202) | function serializeJavascriptValueToJSONString (value) { FILE: lib/web/subresource-integrity/subresource-integrity.js function getStrongestMetadata (line 132) | function getStrongestMetadata (metadataList) { function parseMetadata (line 196) | function parseMetadata (metadata) { function caseSensitiveMatch (line 264) | function caseSensitiveMatch (actualValue, expectedValue) { FILE: lib/web/webidl/index.js constant UNDEFINED (line 7) | const UNDEFINED = 1 constant BOOLEAN (line 8) | const BOOLEAN = 2 constant STRING (line 9) | const STRING = 3 constant SYMBOL (line 10) | const SYMBOL = 4 constant NUMBER (line 11) | const NUMBER = 5 constant BIGINT (line 12) | const BIGINT = 6 constant NULL (line 13) | const NULL = 7 constant OBJECT (line 14) | const OBJECT = 8 // function and object FILE: lib/web/websocket/connection.js function establishWebSocketConnection (line 26) | function establishWebSocketConnection (url, protocols, client, handler, ... function closeWebSocketConnection (line 227) | function closeWebSocketConnection (object, code, reason, validate = fals... function failWebsocketConnection (line 306) | function failWebsocketConnection (handler, code, reason, cause) { FILE: lib/web/websocket/events.js class MessageEvent (line 10) | class MessageEvent extends Event { method constructor (line 13) | constructor (type, eventInitDict = {}) { method data (line 32) | get data () { method origin (line 38) | get origin () { method lastEventId (line 44) | get lastEventId () { method source (line 50) | get source () { method ports (line 56) | get ports () { method initMessageEvent (line 66) | initMessageEvent ( method createFastMessageEvent (line 85) | static createFastMessageEvent (type, init) { class CloseEvent (line 103) | class CloseEvent extends Event { method constructor (line 106) | constructor (type, eventInitDict = {}) { method wasClean (line 119) | get wasClean () { method code (line 125) | get code () { method reason (line 131) | get reason () { class ErrorEvent (line 139) | class ErrorEvent extends Event { method constructor (line 142) | constructor (type, eventInitDict) { method message (line 155) | get message () { method filename (line 161) | get filename () { method lineno (line 167) | get lineno () { method colno (line 173) | get colno () { method error (line 179) | get error () { FILE: lib/web/websocket/frame.js constant BUFFER_SIZE (line 6) | const BUFFER_SIZE = 8 * 1024 function generateMask (line 21) | function generateMask () { class WebsocketFrameSend (line 29) | class WebsocketFrameSend { method constructor (line 33) | constructor (data) { method createFrame (line 37) | createFrame (opcode) { method createFastTextFrame (line 90) | static createFastTextFrame (buffer) { FILE: lib/web/websocket/permessage-deflate.js class PerMessageDeflate (line 14) | class PerMessageDeflate { method constructor (line 29) | constructor (extensions) { method decompress (line 34) | decompress (chunk, fin, callback) { FILE: lib/web/websocket/receiver.js class ByteParser (line 25) | class ByteParser extends Writable { method constructor (line 46) | constructor (handler, extensions) { method _write (line 61) | _write (chunk, _, callback) { method run (line 74) | run (callback) { method consume (line 264) | consume (n) { method writeFragments (line 307) | writeFragments (fragment) { method consumeFragments (line 312) | consumeFragments () { method parseCloseBody (line 337) | parseCloseBody (data) { method parseControlFrame (line 377) | parseControlFrame (body) { method closingInfo (line 443) | get closingInfo () { FILE: lib/web/websocket/sender.js class SendQueue (line 14) | class SendQueue { method constructor (line 28) | constructor (socket) { method add (line 32) | add (item, cb, hint) { method #run (line 76) | async #run () { function createFrame (line 94) | function createFrame (data, hint) { function toBuffer (line 98) | function toBuffer (data, hint) { FILE: lib/web/websocket/stream/websocketerror.js function createInheritableDOMException (line 8) | function createInheritableDOMException () { class WebSocketError (line 29) | class WebSocketError extends createInheritableDOMException() { method constructor (line 33) | constructor (message = '', init = undefined) { method closeCode (line 67) | get closeCode () { method reason (line 71) | get reason () { method createUnvalidatedWebSocketError (line 80) | static createUnvalidatedWebSocketError (message, code, reason) { FILE: lib/web/websocket/stream/websocketstream.js class WebSocketStream (line 18) | class WebSocketStream { method constructor (line 79) | constructor (url, options = undefined) { method url (line 170) | get url () { method opened (line 175) | get opened () { method closed (line 180) | get closed () { method close (line 185) | close (closeInfo = undefined) { method #write (line 200) | #write (chunk) { method #onConnectionEstablished (line 258) | #onConnectionEstablished (response, parsedExtensions) { method #onMessage (line 323) | #onMessage (type, data) { method #onSocketClose (line 355) | #onSocketClose () { method #closeUsingReason (line 424) | #closeUsingReason (reason) { method #cancel (line 446) | #cancel (reason) { FILE: lib/web/websocket/util.js function isConnecting (line 12) | function isConnecting (readyState) { function isEstablished (line 22) | function isEstablished (readyState) { function isClosing (line 33) | function isClosing (readyState) { function isClosed (line 44) | function isClosed (readyState) { function fireEvent (line 56) | function fireEvent (e, target, eventFactory = (type, init) => new Event(... function websocketMessageReceived (line 79) | function websocketMessageReceived (handler, type, data) { function toArrayBuffer (line 87) | function toArrayBuffer (buffer) { function isValidSubprotocol (line 101) | function isValidSubprotocol (protocol) { function isValidStatusCode (line 148) | function isValidStatusCode (code) { function isControlFrame (line 165) | function isControlFrame (opcode) { function isContinuationFrame (line 177) | function isContinuationFrame (opcode) { function isTextBinaryFrame (line 185) | function isTextBinaryFrame (opcode) { function isValidOpcode (line 194) | function isValidOpcode (opcode) { function parseExtensions (line 204) | function parseExtensions (extensions) { function isValidClientWindowBits (line 229) | function isValidClientWindowBits (value) { function getURLRecord (line 254) | function getURLRecord (url, baseURL) { function validateCloseCodeAndReason (line 288) | function validateCloseCodeAndReason (code, reason) { FILE: lib/web/websocket/websocket.js class WebSocket (line 48) | class WebSocket extends EventTarget { method constructor (line 117) | constructor (url, protocols = []) { method close (line 190) | close (code = undefined, reason = undefined) { method send (line 217) | send (data) { method readyState (line 311) | get readyState () { method bufferedAmount (line 318) | get bufferedAmount () { method url (line 324) | get url () { method extensions (line 331) | get extensions () { method protocol (line 337) | get protocol () { method onopen (line 343) | get onopen () { method onopen (line 349) | set onopen (fn) { method onerror (line 366) | get onerror () { method onerror (line 372) | set onerror (fn) { method onclose (line 389) | get onclose () { method onclose (line 395) | set onclose (fn) { method onmessage (line 412) | get onmessage () { method onmessage (line 418) | set onmessage (fn) { method binaryType (line 435) | get binaryType () { method binaryType (line 441) | set binaryType (type) { method #onConnectionEstablished (line 454) | #onConnectionEstablished (response, parsedExtensions) { method #onMessage (line 507) | #onMessage (type, data) { method #onParserDrain (line 548) | #onParserDrain () { method #onSocketClose (line 556) | #onSocketClose () { method ping (line 620) | static ping (ws, buffer) { FILE: test/autobahn/client.js function nextTest (line 12) | function nextTest () { FILE: test/autobahn/report.js function testCaseIdToWeight (line 19) | function testCaseIdToWeight (testCaseId) { function isFailedTestCase (line 26) | function isFailedTestCase (testCase) { FILE: test/busboy/formdata-test.js function makeResponse (line 91) | function makeResponse (body, bnd) { FILE: test/busboy/test-parser.js function b64decode (line 28) | function b64decode (input) { function makeResponse (line 32) | function makeResponse (body, bnd) { FILE: test/cache-interceptor/cache-store-test-utils.js function cacheStoreTests (line 16) | function cacheStoreTests (CacheStore, options) { function writeBody (line 357) | function writeBody (stream, body) { function readBody (line 370) | async function readBody ({ body }) { function joinBufferArray (line 403) | function joinBufferArray (buffers) { function compareGetResults (line 420) | async function compareGetResults (actual, expected, expectedBody) { FILE: test/cache-interceptor/cache-tests-worker.mjs function makeCacheStore (line 71) | async function makeCacheStore (type) { function printResults (line 94) | function printResults (environment, results) { function printStats (line 196) | function printStats (stats) { FILE: test/cache-interceptor/cache-tests.mjs constant CLI_OPTIONS (line 32) | const CLI_OPTIONS = parseArgs({ constant BASE_TEST_ENVIRONMENT (line 56) | const BASE_TEST_ENVIRONMENT = { constant CACHE_TYPES (line 90) | const CACHE_TYPES = [ constant CACHE_STORES (line 106) | const CACHE_STORES = [ constant PROTOCOL (line 116) | const PROTOCOL = 'http' constant PORT (line 117) | const PORT = 8000 function buildTestEnvironments (line 190) | function buildTestEnvironments (idx, testOptions) { function joinEnvironments (line 227) | function joinEnvironments (base, sub) { function filterEnvironments (line 247) | function filterEnvironments (environments) { FILE: test/client-pipeline.js method read (line 92) | read () { method write (line 105) | write (chunk, encoding, callback) { method final (line 109) | final (callback) { method read (line 143) | read () { method write (line 156) | write (chunk, encoding, callback) { method final (line 160) | final (callback) { method read (line 236) | read () { method read (line 278) | read () { method transform (line 863) | transform (chunk, encoding, callback) { method transform (line 1051) | transform (chunk, encoding, callback) { FILE: test/client-pipelining.js function onWarning (line 29) | function onWarning (warning) { function makeRequest (line 54) | function makeRequest (i) { function makeRequestAndExpectUrl (line 68) | function makeRequestAndExpectUrl (client, i, t, cb) { function makeRequest (line 125) | function makeRequest () { method read (line 237) | read () { method read (line 258) | read () { function errordInflightPost (line 345) | function errordInflightPost (bodyType) { function pipeliningNonIdempotentWithBody (line 455) | function pipeliningNonIdempotentWithBody (bodyType) { function pipeliningHeadBusy (line 523) | function pipeliningHeadBusy (bodyType) { function pipeliningIdempotentBusy (line 658) | function pipeliningIdempotentBusy (bodyType) { FILE: test/client-request.js method read (line 333) | read () { } method read (line 885) | read () { method read (line 919) | read () { FILE: test/client-stream.js method write (line 654) | write (chunk, encoding, callback) { method write (line 694) | write (chunk, encoding, callback) { method write (line 735) | write (chunk, encoding, callback) { method read (line 760) | read () { } method get (line 800) | get () { method get (line 861) | get () { FILE: test/client-timeout.js method onConnect (line 29) | onConnect () { method onHeaders (line 31) | onHeaders (statusCode, headers, resume) { method onData (line 37) | onData () { method onComplete (line 40) | onComplete () { method onError (line 43) | onError (err) { method read (line 75) | read () {} method onConnect (line 81) | onConnect () { method onHeaders (line 92) | onHeaders (statusCode, headers, resume) { method onData (line 94) | onData () { method onComplete (line 97) | onComplete () { method onError (line 100) | onError (err) { method onConnect (line 144) | onConnect () { method onHeaders (line 152) | onHeaders (statusCode, headers, resume) { method onData (line 154) | onData () { method onComplete (line 157) | onComplete () { method onError (line 160) | onError (err) { method onConnect (line 193) | onConnect () { method onHeaders (line 195) | onHeaders (statusCode, headers, resume) { method onData (line 199) | onData () { method onComplete (line 202) | onComplete () { method onError (line 205) | onError (err) { FILE: test/client-write-max-listeners.js method read (line 22) | read () { function onWarning (line 35) | function onWarning (warning) { FILE: test/client.js method connect (line 101) | connect (opts, cb) { function postServer (line 592) | function postServer (t, expected) { method read (line 997) | read () { } method read (line 1036) | read () { method destroy (line 1038) | destroy (err, callback) { function makeRequest (line 1083) | function makeRequest (i) { function makeRequest (line 1118) | function makeRequest (i) { method read (line 1315) | read () { method read (line 1368) | read () { method read (line 1582) | read () { method read (line 1709) | read () { function buildParams (line 2055) | function buildParams (path) { FILE: test/close-and-destroy.js function onRequest (line 39) | function onRequest (err, { statusCode, headers, body }) { function makeRequest (line 146) | function makeRequest () { function makeRequest (line 180) | function makeRequest () { function makeRequest (line 214) | function makeRequest () { function makeRequest (line 292) | function makeRequest () { function makeRequest (line 328) | function makeRequest () { function makeRequest (line 359) | function makeRequest () { FILE: test/connect-abort.js method destroy (line 15) | destroy (err, cb) { FILE: test/content-length.js function invalidContentLength (line 102) | function invalidContentLength (bodyType) { function zeroContentLength (line 164) | function zeroContentLength (bodyType) { method read (line 336) | read () { method read (line 427) | read () { method read (line 443) | read () { method read (line 459) | read () { FILE: test/cookie/cookies.js class Headers (line 604) | class Headers { class Headers (line 645) | class Headers { class Headers (line 668) | class Headers { class Headers (line 691) | class Headers { FILE: test/cookie/global-headers.js class Headers (line 58) | class Headers { } FILE: test/decorator-handler.js method constructor (line 32) | constructor (handler) { method onConnect (line 36) | onConnect (abort, context) { method onHeaders (line 40) | onHeaders (statusCode, rawHeaders, resume, statusMessage) { method onUpgrade (line 44) | onUpgrade (statusCode, rawHeaders, socket) { method onData (line 48) | onData (data) { method onComplete (line 52) | onComplete (trailers) { method onError (line 56) | onError (err) { method constructor (line 62) | constructor (controller) { method abort (line 66) | abort (reason) { method resume (line 70) | resume () { method pause (line 74) | pause () { method constructor (line 217) | constructor (handler) { method onRequestStart (line 221) | onRequestStart (controller, context) { method onRequestUpgrade (line 225) | onRequestUpgrade (controller, statusCode, headers, socket) { method onResponseStart (line 229) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseData (line 233) | onResponseData (controller, data) { method onResponseEnd (line 237) | onResponseEnd (controller, trailers) { method onResponseError (line 241) | onResponseError (controller, err) { method constructor (line 247) | constructor (controller) { method abort (line 251) | abort (reason) { method resume (line 255) | resume () { method pause (line 259) | pause () { FILE: test/dispatcher.js class PoorImplementation (line 8) | class PoorImplementation extends Dispatcher {} FILE: test/eventsource/eventsource-attributes.js function fn (line 40) | function fn () { function fn2 (line 47) | function fn2 () { } FILE: test/eventsource/eventsource-custom-dispatcher.js class CustomHeaderAgent (line 23) | class CustomHeaderAgent extends Agent { method dispatch (line 24) | dispatch (opts) { method dispatch (line 57) | dispatch (opts) { class CustomHeaderAgent (line 56) | class CustomHeaderAgent extends Agent { method dispatch (line 24) | dispatch (opts) { method dispatch (line 57) | dispatch (opts) { FILE: test/fetch/abort2.js function makeRequest (line 27) | async function makeRequest () { FILE: test/fetch/client-fetch.js method cancel (line 120) | async cancel (reason) { method start (line 142) | async start (c) { method cancel (line 146) | async cancel (reason) { FILE: test/fetch/fire-and-forget.js method start (line 56) | start () {} method pull (line 58) | pull (ctrl) { method cancel (line 62) | cancel () { FILE: test/fetch/formdata.js class FormData (line 272) | class FormData { method constructor (line 273) | constructor () { method append (line 277) | append (key, value) { method get (line 281) | get (key) { method constructor (line 317) | constructor () { method append (line 325) | append () {} method delete (line 326) | delete () {} method get (line 327) | get () {} method getAll (line 328) | getAll () {} method has (line 329) | has () {} method set (line 330) | set () {} method entries (line 331) | entries () {} method keys (line 332) | keys () {} method values (line 333) | values () {} method forEach (line 334) | forEach () {} function FormData (line 291) | function FormData () { method constructor (line 273) | constructor () { method append (line 277) | append (key, value) { method get (line 281) | get (key) { method constructor (line 317) | constructor () { method append (line 325) | append () {} method delete (line 326) | delete () {} method get (line 327) | get () {} method getAll (line 328) | getAll () {} method has (line 329) | has () {} method set (line 330) | set () {} method entries (line 331) | entries () {} method keys (line 332) | keys () {} method values (line 333) | values () {} method forEach (line 334) | forEach () {} class FormData (line 316) | class FormData { method constructor (line 273) | constructor () { method append (line 277) | append (key, value) { method get (line 281) | get (key) { method constructor (line 317) | constructor () { method append (line 325) | append () {} method delete (line 326) | delete () {} method get (line 327) | get () {} method getAll (line 328) | getAll () {} method has (line 329) | has () {} method set (line 330) | set () {} method entries (line 331) | entries () {} method keys (line 332) | keys () {} method values (line 333) | values () {} method forEach (line 334) | forEach () {} method [Symbol.toStringTag] (line 321) | get [Symbol.toStringTag] () { FILE: test/fetch/headers.js method get (line 746) | get () { FILE: test/fetch/headerslist-sortedarray.js function generateAsciiString (line 9) | function generateAsciiString (length) { constant SORT_RUN (line 17) | const SORT_RUN = 4000 FILE: test/fetch/issue-1447.js method body (line 25) | body (bodyString) { FILE: test/fetch/issue-2828.js class CustomAgent (line 11) | class CustomAgent extends Agent { method dispatch (line 12) | dispatch (options, handler) { FILE: test/fetch/issue-2898-comment.js class CustomAgentA (line 11) | class CustomAgentA extends Agent { method dispatch (line 12) | dispatch (options, handler) { class CustomAgentB (line 18) | class CustomAgentB extends Agent { method dispatch (line 19) | dispatch (options, handler) { FILE: test/fetch/issue-4897.js function createAssertingDispatcher (line 6) | function createAssertingDispatcher (t, expectedPath) { function assertPath (line 16) | async function assertPath (t, url, expectedPath) { FILE: test/fetch/issue-node-46525.js function onWarning (line 10) | function onWarning () { FILE: test/fetch/long-lived-abort-controller.js function onWarning (line 20) | function onWarning (warning) { FILE: test/fetch/pull-dont-push.js method read (line 22) | read () { FILE: test/fetch/readable-stream-from.js method [Symbol.asyncIterator] (line 9) | async * [Symbol.asyncIterator] () { method [Symbol.asyncIterator] (line 22) | async * [Symbol.asyncIterator] () { FILE: test/fetch/request.js method blob (line 174) | blob () { FILE: test/fetch/response-json.js constant APPLICATION_JSON (line 8) | const APPLICATION_JSON = 'application/json' constant FOO_BAR (line 9) | const FOO_BAR = 'foo/bar' constant INIT_TESTS (line 11) | const INIT_TESTS = [ class CustomError (line 69) | class CustomError extends Error { method foo (line 74) | get foo () { throw new CustomError('bar') } FILE: test/fetch/response.js method blob (line 99) | blob () { method [Symbol.asyncIterator] (line 128) | async * [Symbol.asyncIterator] () { method start (line 170) | start (controller) { method start (line 188) | start (controller) { method start (line 202) | start (controller) { method start (line 215) | start (controller) { FILE: test/fixtures/socks5-test-server.js class TestSocks5Server (line 10) | class TestSocks5Server { method constructor (line 11) | constructor (options = {}) { method listen (line 19) | async listen (port = 0) { method handleConnection (line 40) | handleConnection (socket) { method handleHandshake (line 78) | handleHandshake (socket, buffer, callback) { method handleAuth (line 102) | handleAuth (socket, buffer, callback) { method handleConnect (line 129) | handleConnect (socket, buffer, callback) { method close (line 213) | async close () { FILE: test/fuzzing/client/client-fuzz-body.js function fuzz (line 9) | async function fuzz (address, results, buf) { FILE: test/fuzzing/client/client-fuzz-headers.js function fuzz (line 9) | async function fuzz (address, results, buf) { FILE: test/fuzzing/client/client-fuzz-options.js function fuzz (line 13) | async function fuzz (address, results, buf) { FILE: test/fuzzing/server/server-fuzz-append-data.js function appendData (line 3) | function appendData (socket, data) { FILE: test/fuzzing/server/server-fuzz-split-data.js function splitData (line 3) | function splitData (socket, data) { FILE: test/get-head-body.js method read (line 38) | read () {} method read (line 53) | read () { method read (line 66) | read () { method read (line 89) | read () { method read (line 102) | read () { FILE: test/http-req-destroy.js function doNotKillReqSocket (line 10) | function doNotKillReqSocket (bodyType) { FILE: test/http2-body.js method onConnect (line 114) | onConnect () { method onError (line 117) | onError (err) { method onHeaders (line 120) | onHeaders (statusCode, headers) { method onData (line 130) | onData (chunk) { method onBodySent (line 133) | onBodySent (body) { method onComplete (line 136) | onComplete () { FILE: test/http2-dispatcher.js method write (line 54) | write (chunk, _encoding, cb) { method read (line 103) | read () { method write (line 118) | write (chunk, _, cb) { method onConnect (line 514) | onConnect () { method onHeaders (line 517) | onHeaders () { method onData (line 520) | onData () { method onComplete (line 523) | onComplete (trailers) { method onError (line 526) | onError (err) { method onConnect (line 591) | onConnect () { method onHeaders (line 594) | onHeaders () { method onData (line 597) | onData () { method onComplete (line 600) | onComplete (trailers) { method onError (line 603) | onError (err) { method onConnect (line 669) | onConnect () { method onHeaders (line 672) | onHeaders () { method onData (line 675) | onData () { method onComplete (line 678) | onComplete (trailers) { method onError (line 681) | onError (err) { FILE: test/http2-late-data.js class FakeSocket (line 32) | class FakeSocket extends EventEmitter { method constructor (line 33) | constructor () { method destroy (line 38) | destroy () { method ref (line 43) | ref () {} method unref (line 44) | unref () {} class FakeStream (line 47) | class FakeStream extends EventEmitter { method setTimeout (line 48) | setTimeout () {} method pause (line 49) | pause () {} method resume (line 50) | resume () {} method close (line 51) | close () {} method write (line 52) | write () { return true } method end (line 53) | end () {} method cork (line 54) | cork () {} method uncork (line 55) | uncork () {} class FakeSession (line 58) | class FakeSession extends EventEmitter { method constructor (line 59) | constructor (stream) { method request (line 66) | request () { method close (line 70) | close () { method destroy (line 74) | destroy () { method ref (line 78) | ref () {} method unref (line 79) | unref () {} method ping (line 80) | ping (_, cb) { method [kOnError] (line 113) | [kOnError] (err) { method [kResume] (line 116) | [kResume] () { method emit (line 119) | emit () {} method onConnect (line 130) | onConnect () {} method onHeaders (line 131) | onHeaders () { method onData (line 134) | onData () { method onComplete (line 138) | onComplete (trailers) { method onError (line 142) | onError (err) { FILE: test/http2-trailers.js method onConnect (line 52) | onConnect () { method onHeaders (line 55) | onHeaders () { method onData (line 58) | onData () { method onComplete (line 61) | onComplete (trailers) { method onError (line 64) | onError (err) { FILE: test/http2-window-size.js class FakeSession (line 27) | class FakeSession extends EventEmitter { method unref (line 28) | unref () {} method ref (line 29) | ref () {} method close (line 30) | close () {} method destroy (line 31) | destroy () {} method request (line 32) | request () { method setLocalWindowSize (line 36) | setLocalWindowSize (size) { class FakeSocket (line 41) | class FakeSocket extends EventEmitter { method constructor (line 42) | constructor () { method unref (line 47) | unref () {} method ref (line 48) | ref () {} method destroy (line 49) | destroy () { FILE: test/imports/undici-import.ts function exampleCode (line 4) | async function exampleCode () { FILE: test/install.js method set (line 14) | set (target, prop, value) { FILE: test/interceptors/cache-async-store.js class AsyncCacheStore (line 18) | class AsyncCacheStore { method constructor (line 21) | constructor () { method get (line 25) | async get (key) { method createWriteStream (line 41) | createWriteStream (key, value) { method delete (line 45) | delete (key) { FILE: test/interceptors/cache-revalidate-stale.js function isStale (line 73) | function isStale (res) { function revalidateTest (line 77) | async function revalidateTest (useEtag = false) { FILE: test/interceptors/cache.js method get (line 544) | get () { method createWriteStream (line 547) | createWriteStream (key) { method delete (line 550) | delete () { } FILE: test/interceptors/decompress.js method onRequestStart (line 779) | onRequestStart (ctrl) { method onResponseStart (line 783) | onResponseStart (ctrl, statusCode, headers, statusMessage) { method onResponseData (line 793) | onResponseData (ctrl, chunk) { method onResponseEnd (line 797) | onResponseEnd (ctrl, trailers) { method onResponseError (line 802) | onResponseError (ctrl, err) { method onRequestStart (line 851) | onRequestStart (ctrl) { method onResponseStart (line 855) | onResponseStart (ctrl, statusCode, headers, statusMessage) { method onResponseData (line 867) | onResponseData (ctrl, chunk) { method onResponseEnd (line 871) | onResponseEnd (ctrl, trailers) { method onResponseError (line 876) | onResponseError (ctrl, err) { constant MAX_CONTENT_ENCODINGS (line 948) | const MAX_CONTENT_ENCODINGS = 5 FILE: test/interceptors/deduplicate.js method onConnect (line 1251) | onConnect () {} method onHeaders (line 1252) | onHeaders () {} method onData (line 1253) | onData () { method onComplete (line 1257) | onComplete () { method onError (line 1260) | onError (err) { FILE: test/interceptors/dns.js method lookup (line 968) | lookup (origin, opts, cb) { method lookup (line 1052) | lookup (origin, opts, cb) { method lookup (line 1149) | lookup (origin, opts, cb) { method lookup (line 1240) | lookup (origin, opts, cb) { method lookup (line 1337) | lookup (origin, opts, cb) { method lookup (line 1439) | lookup (origin, opts, cb) { method lookup (line 1519) | lookup (origin, opts, cb) { method lookup (line 1587) | lookup (origin, opts, cb) { method get (line 1762) | get (origin) { method set (line 1765) | set (origin, records) { method delete (line 1768) | delete (origin) { method full (line 1772) | full () { method lookup (line 1918) | lookup (origin, opts, cb) { FILE: test/issue-1757.js class MiniflareDispatcher (line 7) | class MiniflareDispatcher extends Dispatcher { method constructor (line 8) | constructor (inner, options) { method dispatch (line 13) | dispatch (options, handler) { method close (line 17) | close (...args) { method destroy (line 21) | destroy (...args) { FILE: test/issue-2349.js method write (line 35) | write (chunk, _encoding, callback) { FILE: test/issue-3959.js function runCacheTest (line 10) | async function runCacheTest (store) { FILE: test/issue-4880.js function startServer (line 62) | function startServer () { function makeDispatcher (line 69) | function makeDispatcher (connections, maxConcurrentStreams) { FILE: test/jest/issue-1757.test.js class MiniflareDispatcher (line 7) | class MiniflareDispatcher extends Dispatcher { method constructor (line 8) | constructor (inner, options) { method dispatch (line 13) | dispatch (options, handler) { method close (line 17) | close (...args) { method destroy (line 21) | destroy (...args) { FILE: test/jest/parser-timeout.test.js class DummySocket (line 10) | class DummySocket extends EventEmitter { method constructor (line 11) | constructor () { method read (line 17) | read () { FILE: test/mock-agent.js method headers (line 2639) | headers (headers) { function sleep (line 2697) | function sleep (delay) { function intercept (line 2704) | function intercept () { class MiniflareDispatcher (line 2827) | class MiniflareDispatcher extends Dispatcher { method constructor (line 2828) | constructor (inner, options) { method dispatch (line 2833) | dispatch (options, handler) { method close (line 2837) | close (...args) { method destroy (line 2841) | destroy (...args) { method start (line 2882) | start (controller) { method start (line 2956) | start (controller) { FILE: test/mock-call-history-log.js function assertConsistent (line 8) | function assertConsistent (t, mockCallHistoryLog) { FILE: test/mock-delayed-abort.js class TestDecoratorHandler (line 84) | class TestDecoratorHandler extends DecoratorHandler { method onResponseStart (line 87) | onResponseStart (controller, statusCode, headers, statusMessage) { method onResponseError (line 94) | onResponseError (controller, err) { FILE: test/mock-interceptor-unused-assertions.js function mockAgentWithOneInterceptor (line 35) | function mockAgentWithOneInterceptor () { FILE: test/no-strict-content-length.js function assertEmitWarningCalledAndReset (line 19) | function assertEmitWarningCalledAndReset () { method read (line 120) | read () { method read (line 136) | read () { method read (line 179) | read () { method read (line 225) | read () { method read (line 271) | read () { method read (line 317) | read () { method read (line 363) | read () { method read (line 408) | read () { FILE: test/node-fetch/main.js class CustomSearchParameters (line 1265) | class CustomSearchParameters extends URLSearchParams { } FILE: test/node-fetch/mock.js method headers (line 95) | headers (headers) { FILE: test/node-fetch/utils/server.js method constructor (line 9) | constructor () { method start (line 22) | async start () { method stop (line 27) | async stop () { method port (line 32) | get port () { method hostname (line 36) | get hostname () { method mockState (line 40) | mockState (responseHandler) { method router (line 45) | router (request, res) { FILE: test/node-test/abort-controller.js function waitingWithBody (line 161) | function waitingWithBody (body, type) { function writeHeadersStartedWithBody (line 190) | function writeHeadersStartedWithBody (body, type) { function writeBodyStartedWithBody (line 220) | function writeBodyStartedWithBody (body, type) { FILE: test/node-test/abort-event-emitter.js method read (line 43) | read () { } method read (line 92) | read () { } function waitingWithBody (line 182) | function waitingWithBody (body, type) { function writeHeadersStartedWithBody (line 211) | function writeHeadersStartedWithBody (body, type) { function writeBodyStartedWithBody (line 241) | function writeBodyStartedWithBody (body, type) { FILE: test/node-test/agent.js method onConnect (line 321) | onConnect () {} method onHeaders (line 322) | onHeaders () {} method onData (line 323) | onData () {} method onComplete (line 324) | onComplete () { method onError (line 327) | onError (err) { method onConnect (line 359) | onConnect () {} method onHeaders (line 360) | onHeaders () {} method onData (line 361) | onData () {} method onComplete (line 362) | onComplete () { method onError (line 365) | onError (err) { method onConnect (line 712) | onConnect () {} method onHeaders (line 713) | onHeaders () {} method onData (line 714) | onData () {} method onComplete (line 715) | onComplete () { method onError (line 718) | onError (err) { class Handler (line 758) | class Handler { method onConnect (line 759) | onConnect () {} method onHeaders (line 760) | onHeaders () {} method onData (line 761) | onData () {} method onComplete (line 762) | onComplete () {} method onError (line 763) | onError () { FILE: test/node-test/async_hooks.js function getCurrentTransaction (line 14) | function getCurrentTransaction () { function setCurrentTransaction (line 19) | function setCurrentTransaction (trans) { method init (line 25) | init (asyncId, type, triggerAsyncId, resource) { method destroy (line 30) | destroy (asyncId) { FILE: test/node-test/autoselectfamily.js function _lookup (line 20) | function _lookup (resolver, hostname, options, cb) { function createDnsServer (line 38) | function createDnsServer (ipv6Addr, ipv4Addr, cb) { FILE: test/node-test/balanced-pool.js class TestServer (line 301) | class TestServer { method constructor (line 302) | constructor ({ config: { server, socketHangup, downOnRequests, socketH... method _shouldHangupOnClient (line 317) | _shouldHangupOnClient () { method _shouldStopServer (line 328) | _shouldStopServer () { method prepareForIteration (line 335) | async prepareForIteration (iteration) { method start (line 346) | start () { method isRunning (line 370) | isRunning () { method stop (line 374) | stop () { FILE: test/node-test/ca-fingerprint.js method connect (line 28) | connect (opts, cb) { method connect (line 75) | connect (opts, cb) { function getIssuerCertificate (line 106) | function getIssuerCertificate (socket) { function getFingerprint (line 126) | function getFingerprint (content, inputEncoding = 'base64', outputEncodi... FILE: test/node-test/client-abort.js class OnAbortError (line 9) | class OnAbortError extends Error {} method read (line 58) | read () { method onConnect (line 88) | onConnect (abort) { method onHeaders (line 91) | onHeaders () { method onData (line 94) | onData () { method onComplete (line 97) | onComplete () { method onError (line 100) | onError (err) { method onConnect (line 132) | onConnect (abort) { method onHeaders (line 139) | onHeaders () { method onData (line 142) | onData () { method onComplete (line 145) | onComplete () { method onError (line 148) | onError (err) { method onConnect (line 158) | onConnect (abort) { method onHeaders (line 161) | onHeaders () { method onData (line 164) | onData () { method onComplete (line 167) | onComplete () { method onError (line 170) | onError (err) { method onConnect (line 199) | onConnect (abort) { method onHeaders (line 202) | onHeaders () { method onData (line 205) | onData () { method onComplete (line 208) | onComplete () { method onError (line 211) | onError () { FILE: test/node-test/client-dispatch.js method onError (line 46) | onError (err) { method onError (line 57) | onError (err) { method onError (line 68) | onError (err) { method onError (line 80) | onError (err) { method onError (line 87) | onError (err) { method onConnect (line 125) | onConnect () { method onHeaders (line 127) | onHeaders (statusCode, headers) { method onData (line 131) | onData (buf) { method onComplete (line 134) | onComplete (trailers) { method onError (line 138) | onError () { method onConnect (line 179) | onConnect () { method onHeaders (line 181) | onHeaders (statusCode, headers) { method onData (line 189) | onData (buf) { method onComplete (line 192) | onComplete (trailers) { method onError (line 200) | onError () { method onConnect (line 226) | onConnect () { method onHeaders (line 228) | onHeaders (statusCode, headers) { method onData (line 231) | onData (buf) { method onComplete (line 234) | onComplete (trailers) { method onError (line 237) | onError (err) { method onConnect (line 263) | onConnect () { method onHeaders (line 265) | onHeaders (statusCode, headers) { method onData (line 268) | onData (buf) { method onComplete (line 271) | onComplete (trailers) { method onError (line 274) | onError (err) { method onConnect (line 300) | onConnect () { method onHeaders (line 302) | onHeaders (statusCode, headers) { method onData (line 305) | onData (buf) { method onComplete (line 308) | onComplete (trailers) { method onError (line 311) | onError (err) { method onConnect (line 337) | onConnect () { method onHeaders (line 340) | onHeaders (statusCode, headers) { method onData (line 343) | onData (buf) { method onComplete (line 346) | onComplete (trailers) { method onError (line 349) | onError (err) { method onConnect (line 388) | onConnect () { method onHeaders (line 390) | onHeaders (statusCode, headers) { method onUpgrade (line 393) | onUpgrade (statusCode, headers, socket) { method onData (line 407) | onData (buf) { method onComplete (line 410) | onComplete (trailers) { method onError (line 413) | onError () { method onConnect (line 438) | onConnect () { method onData (line 440) | onData (buf) { method onComplete (line 443) | onComplete (trailers) { method onError (line 446) | onError (err) { method onConnect (line 471) | onConnect () { method onHeaders (line 473) | onHeaders (statusCode, headers) { method onComplete (line 476) | onComplete (trailers) { method onError (line 479) | onError (err) { method onConnect (line 504) | onConnect () { method onHeaders (line 506) | onHeaders (statusCode, headers) { method onData (line 509) | onData (buf) { method onError (line 512) | onError (err) { method onConnect (line 538) | onConnect () { method onHeaders (line 540) | onHeaders (statusCode, headers) { method onData (line 543) | onData (buf) { method onComplete (line 546) | onComplete (trailers) { method onConnect (line 575) | onConnect () { method onHeaders (line 577) | onHeaders (statusCode, headers) { method onError (line 579) | onError (err) { method onConnect (line 606) | onConnect () { method onHeaders (line 608) | onHeaders (statusCode, headers) { method onError (line 610) | onError (err) { method onConnect (line 664) | onConnect () {} method onHeaders (line 665) | onHeaders () {} method onData (line 666) | onData () {} method onError (line 667) | onError (err) { method onBodySent (line 694) | onBodySent (chunk) { method onRequestSent (line 697) | onRequestSent () { method onError (line 700) | onError (err) { method onConnect (line 703) | onConnect () {} method onHeaders (line 704) | onHeaders () {} method onData (line 705) | onData () {} method onComplete (line 706) | onComplete () { method onBodySent (line 734) | onBodySent (chunk) { method onRequestSent (line 738) | onRequestSent () { method onError (line 741) | onError (err) { method onConnect (line 744) | onConnect () {} method onHeaders (line 745) | onHeaders () {} method onData (line 746) | onData () {} method onComplete (line 747) | onComplete () { method onBodySent (line 775) | onBodySent (chunk) { method onError (line 779) | onError (err) { method onConnect (line 782) | onConnect () {} method onHeaders (line 783) | onHeaders () {} method onData (line 784) | onData () {} method onComplete (line 785) | onComplete () { method onBodySent (line 809) | onBodySent (chunk) { method onError (line 812) | onError (err) { method onConnect (line 817) | onConnect () {} method onHeaders (line 818) | onHeaders () {} method onData (line 819) | onData () {} method onComplete (line 820) | onComplete () {} method onConnect (line 845) | onConnect () { method onBodySent (line 848) | onBodySent () { method onResponseStarted (line 851) | onResponseStarted () { method onHeaders (line 854) | onHeaders () { method onData (line 857) | onData () { method onComplete (line 860) | onComplete () { method onError (line 864) | onError (err) { method onConnect (line 893) | onConnect () {} method onResponseStarted (line 894) | onResponseStarted () { method onHeaders (line 897) | onHeaders () {} method onData (line 898) | onData () {} method onComplete (line 899) | onComplete () { method onError (line 903) | onError (err) { method onConnect (line 941) | onConnect () { method onBodySent (line 944) | onBodySent () { method onResponseStarted (line 947) | onResponseStarted () { method onHeaders (line 950) | onHeaders () { method onData (line 953) | onData () { method onComplete (line 956) | onComplete () { method onError (line 960) | onError (err) { method onConnect (line 999) | onConnect () { method onBodySent (line 1002) | onBodySent () { method onResponseStarted (line 1005) | onResponseStarted () { method onHeaders (line 1008) | onHeaders () { method onData (line 1011) | onData () { method onComplete (line 1014) | onComplete () { method onError (line 1018) | onError (err) { method onConnect (line 1029) | onConnect () { method onBodySent (line 1032) | onBodySent () { method onResponseStarted (line 1035) | onResponseStarted () { method onHeaders (line 1038) | onHeaders () { method onData (line 1041) | onData () { method onComplete (line 1044) | onComplete () { method onError (line 1048) | onError (err) { method onConnect (line 1093) | onConnect () { method onBodySent (line 1096) | onBodySent () { method onResponseStarted (line 1099) | onResponseStarted () { method onHeaders (line 1102) | onHeaders () { method onData (line 1105) | onData () { method onComplete (line 1108) | onComplete () { method onError (line 1112) | onError (err) { method onConnect (line 1123) | onConnect () { method onBodySent (line 1126) | onBodySent () { method onResponseStarted (line 1129) | onResponseStarted () { method onHeaders (line 1132) | onHeaders () { method onData (line 1135) | onData () { method onComplete (line 1138) | onComplete () { method onError (line 1142) | onError (err) { FILE: test/node-test/client-errors.js class IteratorError (line 18) | class IteratorError extends Error {} function errorAndPipelining (line 125) | function errorAndPipelining (type) { function errorAndChunkedEncodingPipelining (line 200) | function errorAndChunkedEncodingPipelining (type) { function checkError (line 679) | function checkError (err) { method read (line 690) | read () {} method read (line 706) | read () {} method read (line 774) | read () {} function socketFailWrite (line 947) | function socketFailWrite (type) { function socketFailEndWrite (line 987) | function socketFailEndWrite (type) { method read (line 1137) | read () { method read (line 1306) | read () { FILE: test/node-test/debug.js function extractLines (line 169) | function extractLines (chunks) { FILE: test/node-test/tree.js function generateAsciiString (line 52) | function generateAsciiString (length) { FILE: test/pool.js method connect (line 84) | connect (opts, cb) { class FakeClient (line 379) | class FakeClient extends EventEmitter { method constructor (line 380) | constructor () { method dispatch (line 386) | dispatch (req, handler) { method onError (line 393) | onError (err) { method onConnect (line 672) | onConnect () { method onHeaders (line 674) | onHeaders (statusCode, headers) { method onData (line 677) | onData (chunk) { method onComplete (line 680) | onComplete () { method onError (line 683) | onError () { method onConnect (line 819) | onConnect () { method onHeaders (line 821) | onHeaders (statusCode, headers) { method onData (line 824) | onData (chunk) { method onComplete (line 826) | onComplete () { method onError (line 829) | onError () { method onConnect (line 840) | onConnect () { method onHeaders (line 843) | onHeaders (statusCode, headers) { method onData (line 846) | onData (chunk) { method onError (line 849) | onError (err) { method onConnect (line 877) | onConnect () { method onHeaders (line 879) | onHeaders (statusCode, headers) { method onData (line 882) | onData (chunk) { method onComplete (line 884) | onComplete () { method onError (line 887) | onError () { method onConnect (line 924) | onConnect () { method onHeaders (line 926) | onHeaders (statusCode, headers) { method onData (line 929) | onData (chunk) { method onComplete (line 931) | onComplete () { method onError (line 934) | onError () { method onConnect (line 971) | onConnect () { method onHeaders (line 973) | onHeaders (statusCode, headers) { method onData (line 976) | onData (chunk) { method onComplete (line 978) | onComplete () { method onError (line 981) | onError () { method read (line 1016) | read () { method read (line 1036) | read () { method read (line 1072) | read () { method read (line 1090) | read () { FILE: test/promises.js function postServer (line 50) | function postServer (t, expected) { function onWarning (line 244) | function onWarning (warning) { function makeRequest (line 270) | async function makeRequest (i) { function makeRequestAndExpectUrl (line 282) | async function makeRequestAndExpectUrl (client, i, t) { FILE: test/proxy-agent.js function buildServer (line 1350) | function buildServer () { function buildSSLServer (line 1357) | function buildSSLServer () { function buildProxy (line 1372) | function buildProxy (listener) { function buildSSLProxy (line 1381) | function buildSSLProxy () { FILE: test/proxy.js function buildServer (line 179) | function buildServer () { function buildProxy (line 186) | function buildProxy () { FILE: test/readable.js function resume (line 11) | function resume () { function abort (line 13) | function abort () { function resume (line 32) | function resume () { function abort (line 34) | function abort () { function resume (line 46) | function resume () { function abort (line 48) | function abort () { function resume (line 66) | function resume () { function abort (line 68) | function abort () { function resume (line 89) | function resume () { function abort (line 91) | function abort () { function resume (line 110) | function resume () { function abort (line 112) | function abort () { function resume (line 130) | function resume () { function abort (line 132) | function abort () { function resume (line 150) | function resume () { function abort (line 152) | function abort () { function resume (line 171) | function resume () { function abort (line 173) | function abort () { FILE: test/request-timeout.js method read (line 722) | read () { method write (line 736) | write (chunk, encoding, callback) { method final (line 739) | final (callback) { method read (line 779) | read () { method write (line 793) | write (chunk, encoding, callback) { method final (line 796) | final (callback) { FILE: test/request-timeout2.js method read (line 35) | read () { FILE: test/request.js method [Symbol.iterator] (line 410) | * [Symbol.iterator] () { method [Symbol.iterator] (line 488) | * [Symbol.iterator] () { FILE: test/retry-handler.js method onConnect (line 64) | onConnect () { method onHeaders (line 67) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 71) | onData (chunk) { method onComplete (line 75) | onComplete () { method onError (line 79) | onError () { method onConnect (line 159) | onConnect () { method onHeaders (line 162) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 166) | onData (chunk) { method onComplete (line 170) | onComplete () { method onError (line 174) | onError () { method onConnect (line 230) | onConnect () { method onHeaders (line 233) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 236) | onData (chunk) { method onComplete (line 239) | onComplete () { method onError (line 242) | onError (err) { method onConnect (line 307) | onConnect () { method onHeaders (line 310) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 314) | onData (chunk) { method onComplete (line 318) | onComplete () { method onError (line 321) | onError (err) { method onConnect (line 392) | onConnect () { method onHeaders (line 395) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 399) | onData (chunk) { method onComplete (line 403) | onComplete () { method onError (line 406) | onError (err) { method onConnect (line 474) | onConnect () { method onHeaders (line 477) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 481) | onData (chunk) { method onComplete (line 485) | onComplete () { method onError (line 488) | onError (err) { method onConnect (line 570) | onConnect () { method onHeaders (line 573) | onHeaders (status, _rawHeaders, _resume, _statusMessage) { method onData (line 577) | onData (chunk) { method onComplete (line 581) | onComplete () { method onError (line 585) | onError () { method onConnect (line 655) | onConnect () { method onHeaders (line 658) | onHeaders (_status, _rawHeaders, _resume, _statusMessage) { method onData (line 661) | onData (chunk) { method onComplete (line 665) | onComplete () { method onError (line 668) | onError (err) { method onConnect (line 943) | onConnect () { method onHeaders (line 946) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 950) | onData (chunk) { method onComplete (line 954) | onComplete () { method onError (line 957) | onError (err) { method onConnect (line 1111) | onConnect () { method onHeaders (line 1114) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1118) | onData (chunk) { method onComplete (line 1122) | onComplete () { method onError (line 1126) | onError () { method onConnect (line 1211) | onConnect () { method onHeaders (line 1214) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1218) | onData (chunk) { method onComplete (line 1222) | onComplete () { method onError (line 1226) | onError () { method onConnect (line 1311) | onConnect () { method onHeaders (line 1314) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1318) | onData (chunk) { method onComplete (line 1322) | onComplete () { method onError (line 1326) | onError () { method onConnect (line 1411) | onConnect () { method onHeaders (line 1414) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1418) | onData (chunk) { method onComplete (line 1422) | onComplete () { method onError (line 1426) | onError () { method onConnect (line 1506) | onConnect () { method onHeaders (line 1509) | onHeaders (status, _rawHeaders, _resume, _statusMessage) { method onData (line 1513) | onData (chunk) { method onComplete (line 1517) | onComplete () { method onError (line 1520) | onError (err) { method onConnect (line 1599) | onConnect () { method onHeaders (line 1602) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1606) | onData (chunk) { method onComplete (line 1610) | onComplete () { method onError (line 1613) | onError (err) { FILE: test/retry-handler2.js method onConnect (line 189) | onConnect () { method onHeaders (line 192) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 196) | onData (chunk) { method onComplete (line 200) | onComplete () { method onError (line 204) | onError () { method onConnect (line 285) | onConnect () { method onHeaders (line 288) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 292) | onData (chunk) { method onComplete (line 296) | onComplete () { method onError (line 300) | onError () { method onConnect (line 361) | onConnect () { method onHeaders (line 364) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 367) | onData (chunk) { method onComplete (line 371) | onComplete () { method onError (line 375) | onError () { method onConnect (line 441) | onConnect () { method onHeaders (line 444) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 448) | onData (chunk) { method onComplete (line 452) | onComplete () { method onError (line 455) | onError () { method onConnect (line 529) | onConnect () { method onHeaders (line 532) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 536) | onData (chunk) { method onComplete (line 540) | onComplete () { method onError (line 543) | onError () { method onConnect (line 614) | onConnect () { method onHeaders (line 617) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 621) | onData (chunk) { method onComplete (line 625) | onComplete () { method onError (line 628) | onError () { method onConnect (line 711) | onConnect () { method onHeaders (line 714) | onHeaders (status, _rawHeaders, _resume, _statusMessage) { method onData (line 718) | onData (chunk) { method onComplete (line 722) | onComplete () { method onError (line 726) | onError () { method onConnect (line 799) | onConnect () { method onHeaders (line 802) | onHeaders (_status, _rawHeaders, _resume, _statusMessage) { method onData (line 805) | onData (chunk) { method onComplete (line 809) | onComplete () { method onError (line 812) | onError (err) { method onConnect (line 1093) | onConnect () { method onHeaders (line 1096) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1100) | onData (chunk) { method onComplete (line 1104) | onComplete () { method onError (line 1107) | onError (err) { method onConnect (line 1263) | onConnect () { method onHeaders (line 1266) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1270) | onData (chunk) { method onComplete (line 1274) | onComplete () { method onError (line 1278) | onError () { method onConnect (line 1364) | onConnect () { method onHeaders (line 1367) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1371) | onData (chunk) { method onComplete (line 1375) | onComplete () { method onError (line 1379) | onError () { method onConnect (line 1465) | onConnect () { method onHeaders (line 1468) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1472) | onData (chunk) { method onComplete (line 1476) | onComplete () { method onError (line 1480) | onError () { method onConnect (line 1566) | onConnect () { method onHeaders (line 1569) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1573) | onData (chunk) { method onComplete (line 1577) | onComplete () { method onError (line 1581) | onError () { method onConnect (line 1662) | onConnect () { method onHeaders (line 1665) | onHeaders (status, _rawHeaders, _resume, _statusMessage) { method onData (line 1669) | onData (chunk) { method onComplete (line 1673) | onComplete () { method onError (line 1676) | onError (err) { method onConnect (line 1752) | onConnect () { method onHeaders (line 1755) | onHeaders (status, _rawHeaders, resume, _statusMessage) { method onData (line 1759) | onData (chunk) { method onComplete (line 1763) | onComplete () { method onError (line 1766) | onError (err) { FILE: test/round-robin-pool.js method connect (line 53) | connect (opts, cb) { FILE: test/snapshot-testing.js constant TEST_CONSTANTS (line 13) | const TEST_CONSTANTS = { function createSnapshotPath (line 33) | function createSnapshotPath (prefix = 'test-snapshots') { function createTestServer (line 37) | function createTestServer (handler) { function setupServer (line 41) | async function setupServer (server) { function setupCleanup (line 48) | function setupCleanup (t, resources) { function createJsonResponse (line 66) | function createJsonResponse (data) { function createDefaultHandler (line 70) | function createDefaultHandler () { function createEchoHandler (line 85) | function createEchoHandler () { function createSequentialHandler (line 100) | function createSequentialHandler (responses) { function createLargeSnapshotFile (line 108) | async function createLargeSnapshotFile (path, size = 1000) { FILE: test/socket-back-pressure.js method read (line 18) | read () { FILE: test/stream-compat.js method read (line 22) | read () {} FILE: test/timers.js constant ACCEPTABLE_DELTA (line 16) | const ACCEPTABLE_DELTA = 700 function tick (line 18) | function tick (duration) { FILE: test/tls-cert-leak.js function makeRequest (line 43) | async function makeRequest (i) { function processBatch (line 74) | async function processBatch (start, batchSize) { function runTest (line 119) | async function runTest () { function checkMemoryTrend (line 146) | function checkMemoryTrend () { function finalMemoryCheck (line 181) | function finalMemoryCheck () { FILE: test/tls-session-reuse.js function request (line 60) | function request () { function request (line 149) | function request (pool, expectTLSSessionCache) { function runRequests (line 161) | async function runRequests (pool, numIterations, expectTLSSessionCache) { FILE: test/types/cache-interceptor.test-d.ts method get (line 6) | get (_: CacheInterceptor.CacheKey): CacheInterceptor.GetResult | Promise... method createWriteStream (line 10) | createWriteStream (_: CacheInterceptor.CacheKey, _2: CacheInterceptor.Ca... method delete (line 14) | delete (_: CacheInterceptor.CacheKey): void | Promise { FILE: test/types/connector.test-d.ts method connect (line 8) | connect (opts: buildConnector.Options, cb: buildConnector.Callback) { FILE: test/types/dispatcher.events.test-d.ts type EventHandler (line 6) | interface EventHandler { FILE: test/types/dispatcher.test-d.ts method [Symbol.iterator] (line 21) | * [Symbol.iterator] () { FILE: test/types/dns-interceptor.test-d.ts method size (line 6) | get size (): number { method get (line 9) | get (origin: string): Interceptors.DNSInterceptorOriginRecords | null { method set (line 12) | set (origin: string, records: Interceptors.DNSInterceptorOriginRecords |... method delete (line 15) | delete (origin: string): void { method full (line 18) | full (): boolean { FILE: test/types/errors.test-d.ts function f (line 120) | function f (): errors.HeadersTimeoutError | errors.ConnectTimeoutError { } FILE: test/types/global-dispatcher.test-d.ts class CustomDispatcher (line 6) | class CustomDispatcher extends Dispatcher {} FILE: test/types/mock-agent.test-d.ts type PendingInterceptor (line 70) | interface PendingInterceptor extends MockDispatch { FILE: test/types/mock-errors.test-d.ts function f (line 12) | function f (): mockErrors.MockNotMatchedError { } FILE: test/types/mock-interceptor.test-d.ts class CustomError (line 59) | class CustomError extends Error { method hello (line 60) | hello (): void {} FILE: test/utils/async-iterators.js constant STREAM (line 12) | const STREAM = 'stream' constant ASYNC_ITERATOR (line 13) | const ASYNC_ITERATOR = 'async-iterator' function maybeWrapStream (line 14) | function maybeWrapStream (stream, type) { FILE: test/utils/date.js function asctime (line 279) | function asctime (date) { function rfc850 (line 335) | function rfc850 (date) { FILE: test/utils/event-loop-blocker.js function eventLoopBlocker (line 3) | function eventLoopBlocker (ms) { FILE: test/utils/formdata.js function parseFormDataString (line 5) | function parseFormDataString ( FILE: test/utils/hello-world-server.js function sendInDelayedChunks (line 14) | async function sendInDelayedChunks (res, payload, delay) { FILE: test/utils/node-http.js function closeServerAsPromise (line 5) | function closeServerAsPromise (server) { function closeClientAndServerAsPromise (line 12) | function closeClientAndServerAsPromise (client, server) { FILE: test/utils/redirecting-servers.js function close (line 6) | function close (server) { function startServer (line 15) | function startServer (handler) { function startRedirectingServer (line 27) | async function startRedirectingServer () { function startRedirectingWithBodyServer (line 90) | async function startRedirectingWithBodyServer () { function startRedirectingWithoutLocationServer (line 107) | function startRedirectingWithoutLocationServer () { function startRedirectingChainServers (line 125) | async function startRedirectingChainServers () { function startRedirectingWithAuthorization (line 168) | async function startRedirectingWithAuthorization (authorization) { function startRedirectingWithCookie (line 191) | async function startRedirectingWithCookie (cookie) { function startRedirectingWithRelativePath (line 214) | async function startRedirectingWithRelativePath (t) { function startRedirectingWithQueryParams (line 235) | async function startRedirectingWithQueryParams (t) { FILE: test/utils/stream.js function createReadable (line 5) | function createReadable (data) { function createWritable (line 14) | function createWritable (target) { class Source (line 26) | class Source { method constructor (line 27) | constructor (data) { method start (line 31) | async start (controller) { method pull (line 35) | async pull (controller) { function createReadableStream (line 41) | function createReadableStream (data) { FILE: test/web-platform-tests/runner/test-runner.mjs function setupGlobalTestharnessCallbacks (line 92) | function setupGlobalTestharnessCallbacks () { function generateAndRunBundle (line 123) | async function generateAndRunBundle (url) { FILE: test/web-platform-tests/runner/utils.mjs function sanitizeUnpairedSurrogates (line 2) | function sanitizeUnpairedSurrogates (str) { function codeUnitStr (line 15) | function codeUnitStr (char) { FILE: test/web-platform-tests/wpt-runner.mjs constant WPT_DIR (line 14) | const WPT_DIR = join(import.meta.dirname, 'wpt') constant EXPECTATION_PATH (line 15) | const EXPECTATION_PATH = join(import.meta.dirname, 'expectation.json') constant CA_CERT_PATH (line 16) | const CA_CERT_PATH = join(import.meta.dirname, 'runner/certs/cacert.pem') function runWithTestUtil (line 20) | async function runWithTestUtil (testFunction) { function runSingleTest (line 67) | function runSingleTest (url, options, expectation, timeout = 10000) { function getExpectation (line 155) | function getExpectation () { function updateExpectations (line 159) | function updateExpectations (results) { function getManifest (line 203) | function getManifest () { function discoverTestsToRun (line 211) | function discoverTestsToRun (filter, expectation) { function generateWPTReport (line 267) | function generateWPTReport (results, startTime, endTime) { function setup (line 318) | async function setup () { function run (line 440) | async function run (filters = []) { FILE: test/webidl/converters.js method [Symbol.iterator] (line 38) | [Symbol.iterator] () { function obj (line 115) | function obj () {} method abc (line 140) | get abc () { method zyx (line 143) | get zyx () { FILE: test/webidl/helpers.js class A (line 8) | class A {} class B (line 9) | class B {} class V (line 22) | class V {} method value (line 51) | get value () { FILE: test/websocket/custom-headers.js class TestAgent (line 12) | class TestAgent extends Agent { method dispatch (line 13) | dispatch (options) { FILE: test/websocket/events.js function listen (line 54) | function listen () {} FILE: test/websocket/opening-handshake.js function setupListener (line 159) | function setupListener () { FILE: test/websocket/permessage-deflate-windowbits.js function createMaliciousServer (line 15) | function createMaliciousServer (windowBitsValue) { function makeWsFrame (line 68) | function makeWsFrame ({ opcode, rsv1, payload }) { FILE: test/websocket/websocketinit.js class WsDispatcher (line 8) | class WsDispatcher extends Dispatcher { method constructor (line 9) | constructor () { method dispatch (line 14) | dispatch () { FILE: types/agent.d.ts class Agent (line 9) | class Agent extends Dispatcher { type Options (line 22) | interface Options extends Pool.Options { type DispatchOptions (line 30) | interface DispatchOptions extends Dispatcher.DispatchOptions { FILE: types/balanced-pool.d.ts type BalancedPoolConnectOptions (line 7) | type BalancedPoolConnectOptions = Omit class BalancedPool (line 9) | class BalancedPool extends Dispatcher { FILE: types/cache-interceptor.d.ts type CacheMethods (line 6) | type CacheMethods = 'GET' | 'HEAD' | 'OPTIONS' | 'TRACE' type CacheHandlerOptions (line 8) | interface CacheHandlerOptions { type CacheOptions (line 16) | interface CacheOptions { type CacheControlDirectives (line 50) | interface CacheControlDirectives { type CacheKey (line 69) | interface CacheKey { type CacheValue (line 76) | interface CacheValue { type DeleteByUri (line 88) | interface DeleteByUri { type GetResult (line 94) | type GetResult = { type CacheStore (line 110) | interface CacheStore { type MemoryCacheStoreOpts (line 118) | interface MemoryCacheStoreOpts { class MemoryCacheStore (line 137) | class MemoryCacheStore implements CacheStore { type SqliteCacheStoreOpts (line 147) | interface SqliteCacheStoreOpts { class SqliteCacheStore (line 165) | class SqliteCacheStore implements CacheStore { FILE: types/cache.d.ts type CacheStorage (line 3) | interface CacheStorage { type Cache (line 16) | interface Cache { type CacheQueryOptions (line 26) | interface CacheQueryOptions { type MultiCacheQueryOptions (line 32) | interface MultiCacheQueryOptions extends CacheQueryOptions { FILE: types/client-stats.d.ts class ClientStats (line 5) | class ClientStats { FILE: types/client.d.ts type ClientConnectOptions (line 6) | type ClientConnectOptions = Omit class Client (line 11) | class Client extends Dispatcher { type OptionsInterceptors (line 33) | interface OptionsInterceptors { type Options (line 36) | interface Options { type SocketInfo (line 111) | interface SocketInfo { FILE: types/connector.d.ts type BuildOptions (line 8) | type BuildOptions = (ConnectionOptions | TcpNetConnectOpts | IpcNetConne... type Options (line 19) | interface Options { type Callback (line 30) | type Callback = (...args: CallbackArgs) => void type CallbackArgs (line 31) | type CallbackArgs = [null, Socket | TLSSocket] | [Error, null] type connector (line 33) | interface connector { FILE: types/content-type.d.ts type MIMEType (line 3) | interface MIMEType { FILE: types/cookies.d.ts type Cookie (line 5) | interface Cookie { FILE: types/diagnostics-channel.d.ts type Request (line 7) | interface Request { type Response (line 14) | interface Response { type ConnectParams (line 19) | interface ConnectParams { type Connector (line 26) | type Connector = buildConnector.connector type RequestCreateMessage (line 27) | interface RequestCreateMessage { type RequestBodySentMessage (line 30) | interface RequestBodySentMessage { type RequestBodyChunkSentMessage (line 34) | interface RequestBodyChunkSentMessage { type RequestBodyChunkReceivedMessage (line 38) | interface RequestBodyChunkReceivedMessage { type RequestHeadersMessage (line 42) | interface RequestHeadersMessage { type RequestTrailersMessage (line 46) | interface RequestTrailersMessage { type RequestErrorMessage (line 50) | interface RequestErrorMessage { type ClientSendHeadersMessage (line 54) | interface ClientSendHeadersMessage { type ClientBeforeConnectMessage (line 59) | interface ClientBeforeConnectMessage { type ClientConnectedMessage (line 63) | interface ClientConnectedMessage { type ClientConnectErrorMessage (line 68) | interface ClientConnectErrorMessage { FILE: types/dispatcher.d.ts type AbortSignal (line 11) | type AbortSignal = unknown type UndiciHeaders (line 15) | type UndiciHeaders = Record | IncomingHttpHea... class Dispatcher (line 18) | class Dispatcher extends EventEmitter { type ComposedDispatcher (line 99) | interface ComposedDispatcher extends Dispatcher { } type Dispatch (line 100) | type Dispatch = Dispatcher['dispatch'] type DispatcherComposeInterceptor (line 101) | type DispatcherComposeInterceptor = (dispatch: Dispatch) => Dispatch type DispatchOptions (line 102) | interface DispatchOptions { type ConnectOptions (line 131) | interface ConnectOptions { type RequestOptions (line 145) | interface RequestOptions extends DispatchOptions { type PipelineOptions (line 159) | interface PipelineOptions extends RequestOptions { type UpgradeOptions (line 163) | interface UpgradeOptions { type ConnectData (line 178) | interface ConnectData { type ResponseData (line 184) | interface ResponseData { type PipelineHandlerData (line 193) | interface PipelineHandlerData { type StreamData (line 200) | interface StreamData { type UpgradeData (line 204) | interface UpgradeData { type StreamFactoryData (line 209) | interface StreamFactoryData { type StreamFactory (line 215) | type StreamFactory = (data: StreamFactoryData) ... type DispatchController (line 217) | interface DispatchController { type DispatchHandler (line 226) | interface DispatchHandler { type PipelineHandler (line 259) | type PipelineHandler = (data: PipelineHandlerData { FILE: types/errors.d.ts class UndiciError (line 7) | class UndiciError extends Error { class ConnectTimeoutError (line 13) | class ConnectTimeoutError extends UndiciError { class HeadersTimeoutError (line 19) | class HeadersTimeoutError extends UndiciError { class HeadersOverflowError (line 25) | class HeadersOverflowError extends UndiciError { class BodyTimeoutError (line 31) | class BodyTimeoutError extends UndiciError { class ResponseError (line 36) | class ResponseError extends UndiciError { class InvalidArgumentError (line 53) | class InvalidArgumentError extends UndiciError { class InvalidReturnValueError (line 59) | class InvalidReturnValueError extends UndiciError { class RequestAbortedError (line 65) | class RequestAbortedError extends UndiciError { class InformationalError (line 71) | class InformationalError extends UndiciError { class RequestContentLengthMismatchError (line 77) | class RequestContentLengthMismatchError extends UndiciError { class ResponseContentLengthMismatchError (line 83) | class ResponseContentLengthMismatchError extends UndiciError { class ClientDestroyedError (line 89) | class ClientDestroyedError extends UndiciError { class ClientClosedError (line 95) | class ClientClosedError extends UndiciError { class SocketError (line 101) | class SocketError extends UndiciError { class NotSupportedError (line 108) | class NotSupportedError extends UndiciError { class BalancedPoolMissingUpstreamError (line 114) | class BalancedPoolMissingUpstreamError extends UndiciError { class HTTPParserError (line 119) | class HTTPParserError extends UndiciError { class ResponseExceededMaxSizeError (line 125) | class ResponseExceededMaxSizeError extends UndiciError { class RequestRetryError (line 130) | class RequestRetryError extends UndiciError { class SecureProxyConnectionError (line 147) | class SecureProxyConnectionError extends UndiciError { class MaxOriginsReachedError (line 157) | class MaxOriginsReachedError extends UndiciError { class Socks5ProxyError (line 163) | class Socks5ProxyError extends UndiciError { class MessageSizeExceededError (line 173) | class MessageSizeExceededError extends UndiciError { FILE: types/eventsource.d.ts type EventSourceEventMap (line 10) | interface EventSourceEventMap { type EventSource (line 16) | interface EventSource extends EventTarget { type EventSourceInit (line 58) | interface EventSourceInit { FILE: types/fetch.d.ts type RequestInfo (line 12) | type RequestInfo = string | URL | Request type BodyInit (line 19) | type BodyInit = class BodyMixin (line 30) | class BodyMixin { type SpecIterator (line 59) | interface SpecIterator { type SpecIterableIterator (line 63) | interface SpecIterableIterator extends SpecIterator { type SpecIterable (line 67) | interface SpecIterable { type HeadersInit (line 71) | type HeadersInit = [string, string][] | HeaderRecord | Headers class Headers (line 73) | class Headers implements SpecIterable<[string, string]> { type RequestCache (line 92) | type RequestCache = type RequestCredentials (line 100) | type RequestCredentials = 'omit' | 'include' | 'same-origin' type RequestDestination (line 102) | type RequestDestination = type RequestInit (line 122) | interface RequestInit { type ReferrerPolicy (line 140) | type ReferrerPolicy = type RequestMode (line 151) | type RequestMode = 'cors' | 'navigate' | 'no-cors' | 'same-origin' type RequestRedirect (line 153) | type RequestRedirect = 'error' | 'follow' | 'manual' type RequestDuplex (line 155) | type RequestDuplex = 'half' class Request (line 157) | class Request extends BodyMixin { type ResponseInit (line 179) | interface ResponseInit { type ResponseType (line 185) | type ResponseType = type ResponseRedirectStatus (line 193) | type ResponseRedirectStatus = 301 | 302 | 303 | 307 | 308 class Response (line 195) | class Response extends BodyMixin { FILE: types/formdata.d.ts type FormDataEntryValue (line 10) | type FormDataEntryValue = string | File class FormData (line 15) | class FormData { FILE: types/h2c-client.d.ts type H2ClientOptions (line 5) | type H2ClientOptions = Omit class H2CClient (line 10) | class H2CClient extends Dispatcher { type Options (line 30) | interface Options { FILE: types/handlers.d.ts class RedirectHandler (line 3) | class RedirectHandler implements Dispatcher.DispatchHandler { class DecoratorHandler (line 13) | class DecoratorHandler implements Dispatcher.DispatchHandler { FILE: types/header.d.ts type IncomingHttpHeaders (line 6) | type IncomingHttpHeaders = Record type HeaderNames (line 8) | type HeaderNames = Autocomplete< type IANARegisteredMimeType (line 100) | type IANARegisteredMimeType = Autocomplete< type KnownHeaderValues (line 152) | type KnownHeaderValues = { type HeaderRecord (line 156) | type HeaderRecord = { FILE: types/interceptors.d.ts type DumpInterceptorOpts (line 9) | type DumpInterceptorOpts = { maxSize?: number } type RetryInterceptorOpts (line 10) | type RetryInterceptorOpts = RetryHandler.RetryOptions type RedirectInterceptorOpts (line 11) | type RedirectInterceptorOpts = { maxRedirections?: number } type DecompressInterceptorOpts (line 12) | type DecompressInterceptorOpts = { type ResponseErrorInterceptorOpts (line 17) | type ResponseErrorInterceptorOpts = { throwOnError: boolean } type CacheInterceptorOpts (line 18) | type CacheInterceptorOpts = CacheHandler.CacheOptions type DNSInterceptorRecord (line 21) | type DNSInterceptorRecord = { address: string, ttl: number, family: 4 | 6 } type DNSInterceptorOriginRecords (line 22) | type DNSInterceptorOriginRecords = { records: { 4: { ips: DNSInterceptor... type DNSStorage (line 23) | type DNSStorage = { type DNSInterceptorOpts (line 30) | type DNSInterceptorOpts = { type DeduplicateMethods (line 41) | type DeduplicateMethods = 'GET' | 'HEAD' | 'OPTIONS' | 'TRACE' type DeduplicateInterceptorOpts (line 42) | type DeduplicateInterceptorOpts = { FILE: types/mock-agent.d.ts type PendingInterceptor (line 9) | interface PendingInterceptor extends MockDispatch { class MockAgent (line 14) | class MockAgent boolean type FilterCallsParameter (line 53) | type FilterCallsParameter = string | RegExp | undefined | null type FilterCallsObjectCriteria (line 56) | interface FilterCallsObjectCriteria extends Record { class MockInterceptor (line 17) | class MockInterceptor { type Options (line 38) | interface Options { type MockDispatch (line 50) | interface MockDispatch = ( type MockReplyOptionsCallback (line 78) | type MockReplyOptionsCallback = ( type Interceptable (line 83) | interface Interceptable extends Dispatcher { FILE: types/mock-pool.d.ts class MockPool (line 9) | class MockPool extends Pool implements Interceptable { type Options (line 23) | interface Options extends Pool.Options { FILE: types/patch.d.ts type EventInit (line 5) | interface EventInit { type EventListenerOptions (line 11) | interface EventListenerOptions { type AddEventListenerOptions (line 15) | interface AddEventListenerOptions extends EventListenerOptions { type EventListenerOrEventListenerObject (line 21) | type EventListenerOrEventListenerObject = EventListener | EventListenerO... type EventListenerObject (line 23) | interface EventListenerObject { type EventListener (line 27) | interface EventListener { FILE: types/pool-stats.d.ts class PoolStats (line 5) | class PoolStats { FILE: types/pool.d.ts type PoolConnectOptions (line 8) | type PoolConnectOptions = Omit class Pool (line 10) | class Pool extends Dispatcher { type PoolStats (line 30) | type PoolStats = TPoolStats type Options (line 31) | interface Options extends Client.Options { FILE: types/proxy-agent.d.ts class ProxyAgent (line 8) | class ProxyAgent extends Dispatcher { type Options (line 16) | interface Options extends Agent.Options { FILE: types/readable.d.ts class BodyReadable (line 6) | class BodyReadable extends Readable { FILE: types/retry-agent.d.ts class RetryAgent (line 6) | class RetryAgent extends Dispatcher { FILE: types/retry-handler.d.ts class RetryHandler (line 5) | class RetryHandler implements Dispatcher.DispatchHandler { type RetryState (line 15) | type RetryState = { counter: number; } type RetryContext (line 17) | type RetryContext = { type OnRetryCallback (line 24) | type OnRetryCallback = (result?: Error | null) => void type RetryCallback (line 26) | type RetryCallback = ( type RetryOptions (line 37) | interface RetryOptions { type RetryHandlers (line 121) | interface RetryHandlers { FILE: types/round-robin-pool.d.ts type RoundRobinPoolConnectOptions (line 8) | type RoundRobinPoolConnectOptions = Omit = type Autocomplete (line 7) | type Autocomplete = T | (AutocompletePrimitiveBaseType & Record = (object: unknown) => T type SequenceConverter (line 10) | type SequenceConverter = (object: unknown, iterable?: IterableIterato... type RecordConverter (line 12) | type RecordConverter = (object: unknown) => Record<... type WebidlErrors (line 14) | interface WebidlErrors { type WebIDLTypes (line 37) | interface WebIDLTypes { type WebidlUtil (line 48) | interface WebidlUtil { type WebidlConverters (line 104) | interface WebidlConverters { type WebidlIsFunction (line 247) | type WebidlIsFunction = (arg: any) => arg is T type WebidlIs (line 249) | interface WebidlIs { type Webidl (line 268) | interface Webidl { type WebIDLExtendedAttributes (line 336) | interface WebIDLExtendedAttributes { FILE: types/websocket.d.ts type BinaryType (line 15) | type BinaryType = 'blob' | 'arraybuffer' type WebSocketEventMap (line 17) | interface WebSocketEventMap { type WebSocket (line 24) | interface WebSocket extends EventTarget { type CloseEventInit (line 78) | interface CloseEventInit extends EventInit { type CloseEvent (line 84) | interface CloseEvent extends Event { type MessageEventInit (line 95) | interface MessageEventInit extends EventInit { type MessageEvent (line 103) | interface MessageEvent extends Event { type ErrorEventInit (line 126) | interface ErrorEventInit extends EventInit { type ErrorEvent (line 134) | interface ErrorEvent extends Event { type WebSocketInit (line 147) | interface WebSocketInit { type WebSocketStreamOptions (line 153) | interface WebSocketStreamOptions { type WebSocketCloseInfo (line 158) | interface WebSocketCloseInfo { type WebSocketStream (line 163) | interface WebSocketStream { type WebSocketError (line 181) | interface WebSocketError extends Event, WebSocketCloseInfo {}