* @description Send a PATCH request * @param {URL|string} url - The URL to send the request to * @param {object|string} body - The request body * @param {Partial } [options={}] - The request options * @returns {Promise } The response from the se
(
url: URL | string,
body: RequestBody = null,
options: Partial<TlsClientOptions> = {},
)
| 802 | * @returns {Promise<TlsClientResponse>} The response from the server |
| 803 | */ |
| 804 | public async patch( |
| 805 | url: URL | string, |
| 806 | body: RequestBody = null, |
| 807 | options: Partial<TlsClientOptions> = {}, |
| 808 | ): Promise<TlsClientResponse> { |
| 809 | return await this.request({ |
| 810 | sessionId: this.sessionId, |
| 811 | requestUrl: this.convertUrl(url), |
| 812 | requestMethod: 'PATCH', |
| 813 | requestBody: this.convertBody(body), |
| 814 | requestCookies: [], |
| 815 | ...options, |
| 816 | }); |
| 817 | } |
| 818 | |
| 819 | /** |
| 820 | * @description Send an OPTIONS request |
nothing calls this directly
no test coverage detected