class %WebStress.HttpRequest
extends %Net.HttpRequest
property ReadTimeStart
as %Float;
property RecChars
as %Integer;
Number of characters received
property SentChars
as %Integer;
Number of characters sent
property TTFC
as %Float;
Time to first character
property TTLC
as %Float;
Time to last character
method GetNextHeader(name As %String)
as %String
Return the name of the next header that was received from the web server.
method OutputHeaders()
Output the full list of Http headers that will be sent to the machine
Server for the item Location to the current device.
This does not include any entity headers associated with the EntityBody.
method OutputParams(params As %String = "", table As %String)
Output all the parameters to the current device. The params is any
parameters that you wish to be included in the parameters output, these are
assumed to already be URL escaped.
method Send(type As %String, location As %String, test As %Integer = 0, reset As %Boolean = 1)
as %Status
Method that actually sends HTTP request to the server.
This is normally called from Get, Post, Put, Head
but if you wish to use a different HTTP verb you can call this directly passing the type as the verb
you require.