|
|
Options | Name | Purpose | |
---|---|---|---|
# | DataReceivedHandler (ClientSocket, SocketReadEventArgs) |
/** Event handler for dealing with data received from the ClientSocket
@param ClientSocket The socket object receiving the response
@param SocketReadEventArgs Arguments pertaining to the data received */ |
|
# | Destroy () |
|
|
# | Execute (IHttpRequest, IHttpResponse) |
/** Executes an HTTP request, and returns a response
@param HttpRequest The request to execute
@param HttpResponse The response from the server for that request. */ |
|
+ | ExtractBody (IHttpRequest, ByteBucket) |
/** Constructs the message body from the request's Entity object
@param IHttpRequest The request form which to extract the body
@param ByteBucket The message body in plain-text form */ |
|
+ | ExtractEntity (IHttpResponse, ByteBucket) |
/** Constructs the Entity object for the response, based on the
ContentType
@param IHttpResponse The response into which to add the entity representation of the body
@param ByteBucket The message body in plain-text form */ |
|
# | Initialize () |
|
|
+ | LogMessage (character, integer) |
/** Logs a message
@param character The message to log
@param integer The level this message should be logged at */ |
Options | Name | Purpose | |
---|---|---|---|
# | ABLSocketLibrary (character, character, ClientSocket, ClientSocketConnectionParameters) |
/** Constructor.
@param character This library's name
@param character This library's version (semver)
@param JsonObject Valid JSON containing config information */ |
Options | Name | Purpose | |
---|---|---|---|
# | CHARACTER LibraryName |
/** (mandatory) A free-text name for this library. Used for the USER-AGENT
string. */ |
|
# | CHARACTER LibraryVersion |
/** (mandatory) A free-text semantic version string for this library. Used for the USER-AGENT
string. */ |
|
+ | INTEGER miErrorNo_ConnectionFailure |
|
|
+ | INTEGER miErrorNo_ConnectionTimeout |
|
|
+ | INTEGER miErrorNo_RequestReadTimeout |
|
|
+ | INTEGER miErrorNo_RequestTimeout |
/* Error numbers for errors returned in this class. Private since this class
alone will use them and read only to avoid anyone messing with them.
A property to prevent changes. */ |
|
+ | INTEGER miErrorNo_RequestWriteTimeout |
|
Top
PROTECTED DataReceivedHandler (ClientSocket, SocketReadEventArgs)
|
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PROTECTED Destroy ()
|
||||||||||||||||||||
PROTECTED Execute (IHttpRequest, IHttpResponse)
|
||||||||||||||||||||
PUBLIC ExtractBody (IHttpRequest, ByteBucket)
|
||||||||||||||||||||
PUBLIC ExtractEntity (IHttpResponse, ByteBucket)
|
||||||||||||||||||||
PROTECTED Initialize ()
|
||||||||||||||||||||
PUBLIC LogMessage (character, integer)
|
PROTECTED ABLSocketLibrary (character, character, ClientSocket, ClientSocketConnectionParameters)
|
---|
PROTECTED CHARACTER LibraryName
|
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PROTECTED CHARACTER LibraryVersion
|
|||||||||||||||
PUBLIC INTEGER miErrorNo_ConnectionFailure
|
|||||||||||||||
PUBLIC INTEGER miErrorNo_ConnectionTimeout
|
|||||||||||||||
PUBLIC INTEGER miErrorNo_RequestReadTimeout
|
|||||||||||||||
PUBLIC INTEGER miErrorNo_RequestTimeout
|
|||||||||||||||
PUBLIC INTEGER miErrorNo_RequestWriteTimeout
|