Packagenet.user1.reactor
Classpublic class SecureHTTPConnection
InheritanceSecureHTTPConnection Inheritance HTTPConnection Inheritance Connection Inheritance flash.events.EventDispatcher

Since : Reactor 2.1.0

The SecureHTTPConnection class is identical to HTTPConnection except that it performs communications over HTTPS (i.e., an encrypted TLS or SSL connection) rather than plain HTTP.

See also

Reactor.secureConnect()
HTTPConnection


Public Methods
 MethodDefined By
  
SecureHTTPConnection(host:String, port:int = 443)
SecureHTTPConnection
 Inherited
connect():void
[override] For documentation, see IConnection's connect() method.
HTTPConnection
 Inherited
disconnect():void
For documentation, see IConnection's disconnect() method.
Connection
 Inherited
dispose():void
[override] Permanently disables this object.
HTTPConnection
 Inherited
getHost():String
For documentation, see IConnection's getHost() method.
Connection
 Inherited
getPort():int
For documentation, see IConnection's getPort() method.
Connection
 Inherited
Returns an integer indicating the number of times this Connection object has successfully achieved a ready state.
Connection
 Inherited
For documentation, see IConnection's getRequestedHost() method.
Connection
 Inherited
Returns this connection's send-delay.
HTTPConnection
 Inherited
getType():String
For documentation, see IConnection's getType() method.
Connection
 Inherited
isReady():Boolean
For documentation, see IConnection's isReady() method.
Connection
 Inherited
isValid():Boolean
For documentation, see IConnection's isValid() method.
Connection
 Inherited
send(data:*):void
[override] For documentation, see IConnection's send() method.
HTTPConnection
 Inherited
setReactor(reactor:Reactor):void
Connection
 Inherited
setRetryDelay(milliseconds:int):void
HTTPConnection
 Inherited
setSendDelay(milliseconds:int):void
Increases or decreases the connection's batch-message send rate, or disables batch-sending entirely.
HTTPConnection
 Inherited
setServer(host:String, port:int):void
[override] For documentation, see IConnection's setServer() method.
HTTPConnection
 Inherited
toString():String
[override] Provides a string representation of this object.
HTTPConnection
Events
 Event Summary Defined By
 Inherited Dispatched when a connection attempt by an IConnection object begins.Connection
 Inherited Dispatched when an IConnection object initiates the "handshake" phase of a Union Server connection.Connection
 Inherited Dispatched when an IConnection object's connection to the server is closed by the client.Connection
 Inherited Dispatched when a connection attempt by an IConnection object fails.Connection
 Inherited Dispatched when an IConnection object achieves a fully initialized connection to the server.Connection
 Inherited Dispatched whenever any data is received from Union Server by an IConnection object.Connection
 Inherited Dispatched when a UPC-formatted message is received by an IConnection object.HTTPConnection
 Inherited Dispatched whenever any data is sent to Union Server over an IConnection object.Connection
 Inherited Dispatched when an IConnection object's connection to the server is closed by the server.Connection
 Inherited Dispatched when Union Server informs the client that a session id used in a message from the client refers to an unknown session.Connection
 Inherited Dispatched when Union Server informs the client that its session has been terminated.Connection
Public Constants
 ConstantDefined By
 InheritedDEFAULT_SEND_DELAY : int = 200
[static] The default send-delay used for new HTTPConnection objects.
HTTPConnection
Constructor Description
SecureHTTPConnection()Constructor
public function SecureHTTPConnection(host:String, port:int = 443)



Parameters
host:String
 
port:int (default = 443)