* 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 = {},
)
| 1173 | * details on the return type. |
| 1174 | */ |
| 1175 | get( |
| 1176 | url: string, |
| 1177 | options: { |
| 1178 | observe?: 'body' | 'events' | 'response'; |
| 1179 | responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; |
| 1180 | } & HttpClientCommonOptions = {}, |
| 1181 | ): Observable<any> { |
| 1182 | return this.request<any>('GET', url, options as any); |
| 1183 | } |
| 1184 | |
| 1185 | /** |
| 1186 | * Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` and |