NOTE: This is a free-threaded interface, meaning that the methods on this interface may be called from any thread.
readonly AUTF8String host
Get the host for the underlying socket connection.
readonly PRInt32 port
Get the port for the underlying socket connection.
Security notification callbacks passed to the secure socket provider via nsISSLSocketControl at socket creation time.
NOTE: this attribute cannot be changed once a stream has been opened.
readonly nsISupports securityInfo
Security info object returned from the secure socket provider. This object supports nsISSLSocketControl, nsITransportSecurityInfo, and possibly other interfaces.
Returns the IP address of the socket connection peer. This attribute is defined only once a connection has been established.
Returns the IP address of the initiating end. This attribute is defined only once a connection has been established.
Socket timeouts in seconds. To specify no timeout, pass PR_UINT32_MAX as value to setTimeout. The implementation may truncate timeout values to a smaller range of values (e.g., 0 to 0xFFFF).
This interface is passed as an argument to the following methods:
This interface is returned from the following methods:
Reference documentation is generated from Mozilla's source.