HttpResponse methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
(No difference)

Revision as of 19:43, 17 June 2011

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( string, [number])

%string = httpResponse:Message

%httpResponse = %(HttpResponse):New

[%number =] httpResponse:ParseXml( doc, [string])

httpResponse:Print

%string = httpResponse:StatusLine

%number = httpResponse:Success

%string = httpResponse:URL