Searched refs:responseOptions (Results 1 – 4 of 4) sorted by relevance
/third_party/node/deps/undici/src/lib/mock/ |
D | mock-interceptor.js | 93 createMockScopeDispatchData (statusCode, data, responseOptions = {}) { argument 96 const headers = { ...this[kDefaultHeaders], ...contentLength, ...responseOptions.headers } 97 const trailers = { ...this[kDefaultTrailers], ...responseOptions.trailers } 102 validateReplyParameters (statusCode, data, responseOptions) { argument 109 if (typeof responseOptions !== 'object') { 133 const { statusCode, data = '', responseOptions = {} } = resolvedData 134 this.validateReplyParameters(statusCode, data, responseOptions) 138 ...this.createMockScopeDispatchData(statusCode, data, responseOptions) 151 const [statusCode, data = '', responseOptions = {}] = [...arguments] 152 this.validateReplyParameters(statusCode, data, responseOptions) [all …]
|
/third_party/node/deps/npm/node_modules/minipass-fetch/lib/ |
D | index.js | 262 const responseOptions = { 290 response = new Response(body, responseOptions) 311 responseOptions 330 response = new Response(decoder, responseOptions) 350 response = new Response(decoder, responseOptions) 356 response = new Response(body, responseOptions)
|
/third_party/node/deps/undici/src/types/ |
D | mock-interceptor.d.ts | 30 responseOptions?: MockInterceptor.MockResponseOptions 87 ) => { statusCode: number, data?: TData | Buffer | string, responseOptions?: MockResponseOptions }
|
/third_party/node/deps/undici/src/docs/api/ |
D | MockPool.md | 66 …responseOptions?: MockResponseOptions) => MockScope` - define a reply for a matching request. You …
|