Skip to content

Commit

Permalink
Add golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Lycoops (Ubuntu) committed Aug 19, 2024
1 parent d2b6407 commit b9f7a38
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions goldens/public-api/common/http/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2052,6 +2052,7 @@ export class HttpRequest<T> {
transferCache?: {
includeHeaders?: string[];
} | boolean;
timeout?: number;
});
constructor(method: 'DELETE' | 'JSONP' | 'OPTIONS', url: string, init?: {
headers?: HttpHeaders;
Expand All @@ -2060,6 +2061,7 @@ export class HttpRequest<T> {
params?: HttpParams;
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
withCredentials?: boolean;
timeout?: number;
});
constructor(method: 'POST', url: string, body: T | null, init?: {
headers?: HttpHeaders;
Expand All @@ -2071,6 +2073,7 @@ export class HttpRequest<T> {
transferCache?: {
includeHeaders?: string[];
} | boolean;
timeout?: number;
});
constructor(method: 'PUT' | 'PATCH', url: string, body: T | null, init?: {
headers?: HttpHeaders;
Expand All @@ -2079,6 +2082,7 @@ export class HttpRequest<T> {
params?: HttpParams;
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
withCredentials?: boolean;
timeout?: number;
});
constructor(method: string, url: string, body: T | null, init?: {
headers?: HttpHeaders;
Expand All @@ -2090,6 +2094,7 @@ export class HttpRequest<T> {
transferCache?: {
includeHeaders?: string[];
} | boolean;
timeout?: number;
});
readonly body: T | null;
// (undocumented)
Expand All @@ -2105,6 +2110,7 @@ export class HttpRequest<T> {
transferCache?: {
includeHeaders?: string[];
} | boolean;
timeout?: number;
body?: T | null;
method?: string;
url?: string;
Expand All @@ -2126,6 +2132,7 @@ export class HttpRequest<T> {
transferCache?: {
includeHeaders?: string[];
} | boolean;
timeout?: number;
body?: V | null;
method?: string;
url?: string;
Expand All @@ -2144,6 +2151,7 @@ export class HttpRequest<T> {
readonly reportProgress: boolean;
readonly responseType: 'arraybuffer' | 'blob' | 'json' | 'text';
serializeBody(): ArrayBuffer | Blob | FormData | URLSearchParams | string | null;
readonly timeout?: number;
readonly transferCache?: {
includeHeaders?: string[];
} | boolean;
Expand Down

0 comments on commit b9f7a38

Please sign in to comment.