HttpResponse methods syntax

From m204wiki
Jump to navigation Jump to search

The syntax for each of the HttpResponse class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of HttpResponse methods.

%string = httpResponse:Code

%string = httpResponse:Content[( [number])]

%sl = httpResponse:ContentToStringlist

%number = httpResponse:HeaderCount[( [string])]

%sl = httpResponse:HeaderNames

%string = httpResponse:HeaderValue( name, [occurrence])

%string = httpResponse:Message

[%number =] httpResponse:ParseXml( doc, [options]) Throws XmlParseError

httpResponse:Print

%string = httpResponse:StatusLine

%number = httpResponse:Success

%string = httpResponse:URL