IROSimpleHttpClient

Overview

Location

 

ContentType

property ContentType: string read write

Get

procedure Get(aUrl: string)

Parameters:

  • aUrl:

GetContentType

function GetContentType: string

GetRequestHeaders

function GetRequestHeaders(const aName: string): string

Parameters:

  • aName:

GetResponseAsJson

function GetResponseAsJson: TROJSONObject

GetResponseHeaders

function GetResponseHeaders(const aName: string): string

Parameters:

  • aName:

GetResponseStream

function GetResponseStream: TStream

GetStatusCode

function GetStatusCode: Integer

procedure Head(aUrl: string)

Parameters:

  • aUrl:

Post

procedure Post(aUrl: string; aRequest: string)

Parameters:

  • aUrl:
  • aRequest:

RequestHeaders

property RequestHeaders[aName: string]: string read write

ResponseAsJson

property ResponseAsJson: TROJSONObject read

ResponseHeaders

property ResponseHeaders[aName: string]: string read

ResponseStream

property ResponseStream: TStream read

SetContentType

procedure SetContentType(const aValue: string)

Parameters:

  • aValue:

SetRequestHeaders

procedure SetRequestHeaders(const aName: string; const aValue: string)

Parameters:

  • aName:
  • aValue:

StatusCode

property StatusCode: Integer read

 

ContentType

property ContentType: string read write

RequestHeaders

property RequestHeaders[aName: string]: string read write

ResponseAsJson

property ResponseAsJson: TROJSONObject read

ResponseHeaders

property ResponseHeaders[aName: string]: string read

ResponseStream

property ResponseStream: TStream read

StatusCode

property StatusCode: Integer read

 

Get

procedure Get(aUrl: string)

Parameters:

  • aUrl:

GetContentType

function GetContentType: string

GetRequestHeaders

function GetRequestHeaders(const aName: string): string

Parameters:

  • aName:

GetResponseAsJson

function GetResponseAsJson: TROJSONObject

GetResponseHeaders

function GetResponseHeaders(const aName: string): string

Parameters:

  • aName:

GetResponseStream

function GetResponseStream: TStream

GetStatusCode

function GetStatusCode: Integer

procedure Head(aUrl: string)

Parameters:

  • aUrl:

Post

procedure Post(aUrl: string; aRequest: string)

Parameters:

  • aUrl:
  • aRequest:

SetContentType

procedure SetContentType(const aValue: string)

Parameters:

  • aValue:

SetRequestHeaders

procedure SetRequestHeaders(const aName: string; const aValue: string)

Parameters:

  • aName:
  • aValue: