Skip to content

Interface: HttpClientOptions ​

Defined in: src/http/client.ts:50

Properties ​

baseUrl? ​

ts
optional baseUrl?: string;

Defined in: src/http/client.ts:51


fetch? ​

ts
optional fetch?: {
  (input, init?): Promise<Response>;
  (input, init?): Promise<Response>;
};

Defined in: src/http/client.ts:53

테스트/커스텀 런타임용 fetch 주입. 기본은 globalThis.fetch.

Call Signature ​

ts
(input, init?): Promise<Response>;

MDN Reference

Parameters ​
input ​

URL | RequestInfo

init? ​

RequestInit

Returns ​

Promise<Response>

Call Signature ​

ts
(input, init?): Promise<Response>;

MDN Reference

Parameters ​
input ​

string | URL | Request

init? ​

RequestInit

Returns ​

Promise<Response>


logger? ​

ts
optional logger?: ChzzkLogger;

Defined in: src/http/client.ts:54


retry? ​

ts
optional retry?: RetryOptions;

Defined in: src/http/client.ts:55

공식 OPEN API만 지원 — 비공식 엔드포인트 0건