Whisperstream Research Group - SerialComm GSM SDK Documentation

HttpWebComm Members

HttpWebComm overview

Public Instance Constructors

HttpWebComm ConstructorInitializes a new instance of the HttpWebComm class.

Public Instance Properties

Cookies
Error Error flag if an error occurred.
ErrorMsg Error Message if the Error Flag is set or an error value is returned from a method.
HandleCookies If set to a non-zero value will automatically track cookies. The number assigned is the cookie count.
Password Password for Authentication.
PostMode Determines how data is POSTed when cPostBuffer is set. 1 - UrlEncoded 2 - Multi-Part form vars 4 - XML (raw buffer content type: text/xml)
ProxyAddress Address of the Proxy Server to be used. Use optional DEFAULTPROXY value to specify that you want to IE's Proxy Settings
ProxyBypass Semicolon separated Address list of the servers the proxy is not used for.
ProxyPassword Password for a password validating Proxy. Only used if the proxy info is set.
ProxyUsername Username for a password validating Proxy. Only used if the proxy info is set.
ThrowExceptions Determines whether errors cause exceptions to be thrown. By default errors are handled in the class and the Error property is set for error conditions. (not implemented at this time).
Timeout Timeout for the Web request in seconds. Times out on connection, read and send operations. Default is 30 seconds.
Username User name used for Authentication. To use the currently logged in user when accessing an NTLM resource you can use "AUTOLOGIN".
WebRequest
WebResponse

Public Instance Methods

AddPostFile
AddPostKeyOverloaded. Adds POST form variables to the request buffer. HttpPostMode determines how parms are handled. 1 - UrlEncoded Form Variables. Uses key and value pairs (ie. "Name","Rick") to create URLEncoded content 2 - Multi-Part Forms - not supported 4 - XML block - Post a single XML block. Pass in as Key (1st Parm) other - raw content buffer. Just assign to Key.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
GetUrl Return a the result from an HTTP Url into a string.
GetUrlBytes Return a the result from an HTTP Url into a string.
GetUrlEvents Retrieves URL with events in the OnReceiveData event.
GetUrlStreamOverloaded. Return a the result from an HTTP Url into a StreamReader. Client code should call Close() on the returned object when done reading.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

OnReceiveData Fires progress events when using GetUrlEvents() to retrieve a URL.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetUrlStreamOverloaded. Return a the result from an HTTP Url into a StreamReader. Client code should call Close() on the returned object when done reading.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

HttpWebComm Class | Whisperstream.SMSProcessor.Utility Namespace