Unit 'fpHTTPClient' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPCustomHTTPClient.SimplePatch

Static method to perform a simple HTTP PATCH request

Declaration

Source position: fphttpclient.pp line 331

public class procedure TFPCustomHTTPClient.SimplePatch(

  const URL: string;

  const Response: TStream

);

class procedure TFPCustomHTTPClient.SimplePatch(

  const URL: string;

  Response: TStrings

);

class procedure TFPCustomHTTPClient.SimplePatch(

  const URL: string;

  const LocalFileName: string

);

class function TFPCustomHTTPClient.SimplePatch(

  const URL: string

):RawByteString;

Arguments

URL

  

The URL to send the PATCH request to

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to send the PATCH request to

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to send the PATCH request to

LocalFileName

  

Local filename to save the response to

Arguments

URL

  

The URL to send the PATCH request to

Function result

The response content as string

Description

Static utility method for performing a simple HTTP PATCH request without requiring an HTTP client instance.

Errors

May raise HTTP-related exceptions on connection errors.

See also

Patch

  

Performs an HTTP PATCH request


Documentation generated on: Jan 27 2026