Set default reply headers on the interceptor for subsequent mocked replies.
Set default reply trailers on the interceptor for subsequent mocked replies.
Mock an undici request with the defined reply.
Optional data: string | Buffer<ArrayBufferLike> | TData | MockResponseDataHandler<TData>Optional responseOptions: MockResponseOptionsSet automatically calculated content-length header on subsequent mocked replies.
The interceptor for a Mock.