* Constructs an observable that, when subscribed, causes the configured * `GET` request to execute on the server. See the individual overloads for * details on the return type.
(
url: string,
options: {
observe?: 'body' | 'events' | 'response';
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
} & HttpClientCommonOptions = {},
)
| 1165 | * details on the return type. |
| 1166 | */ |
| 1167 | get( |
| 1168 | url: string, |
| 1169 | options: { |
| 1170 | observe?: 'body' | 'events' | 'response'; |
| 1171 | responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; |
| 1172 | } & HttpClientCommonOptions = {}, |
| 1173 | ): Observable<any> { |
| 1174 | return this.request<any>('GET', url, options as any); |
| 1175 | } |
| 1176 | |
| 1177 | /** |
| 1178 | * Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` and |