* Constructs an observable that, when subscribed, causes the configured * \`PATCH\` request to execute on the server. See the individual overloads for * details on the return type.
(
url: string,
body: any | null,
options: {
observe?: 'body' | 'events' | 'response';
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
} & HttpClientCommonOptions = {},
)
| 2064 | * details on the return type. |
| 2065 | */ |
| 2066 | patch( |
| 2067 | url: string, |
| 2068 | body: any | null, |
| 2069 | options: { |
| 2070 | observe?: 'body' | 'events' | 'response'; |
| 2071 | responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; |
| 2072 | } & HttpClientCommonOptions = {}, |
| 2073 | ): Observable<any> { |
| 2074 | return this.request<any>('PATCH', url, addBody(options, body)); |
| 2075 | } |
| 2076 | |
| 2077 | /** |
| 2078 | * Constructs a `POST` request that interprets the body as an `ArrayBuffer` and returns |