Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NyaaRequestOptions<T>

Type parameters

  • T = "text"

Hierarchy

  • RequestOptions<T>
    • NyaaRequestOptions

Index

Properties

Optional _defaultAgent

_defaultAgent: Agent | undefined

Optional agent

agent: Agent | boolean | undefined

Optional auth

auth: string | null | undefined

Optional baseUrl

baseUrl: string

Optional createConnection

createConnection: ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) | undefined

Optional defaultPort

defaultPort: number | string | undefined

Optional family

family: number | undefined

Optional headers

headers: OutgoingHttpHeaders | undefined

Optional host

host: string | null | undefined

Optional hostname

hostname: string | null | undefined

Optional localAddress

localAddress: string | undefined

Optional lookup

lookup: LookupFunction | undefined

Optional maxHeaderSize

maxHeaderSize: number | undefined
default

8192

Optional method

method: string | undefined

Optional params

params: {}

Type declaration

  • [x: string]: unknown

Optional path

path: string | null | undefined

Optional port

port: number | string | null | undefined

Optional protocol

protocol: string | null | undefined

Optional responseType

responseType: T

Optional setHost

setHost: boolean | undefined

Optional signal

signal: AbortSignal | undefined

Optional socketPath

socketPath: string | undefined

Optional timeout

timeout: number | undefined

Generated using TypeDoc