Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
addToSocket
This function is called to allow the socket provider to layer a PRFileDesc on top of another PRFileDesc. For example, SSL via a SOCKS proxy.
Parameters are the same as newSocket with the exception of aFileDesc, which is an in-param instead.
newSocket
The address family for this socket (PR_AF_INET or PR_AF_INET6).
The origin hostname for this connection.
The origin port for this connection.
Control flags that govern this connection (see below.)
An opaque flags for non-standard behavior of the TLS system. It is unlikely this will need to be set outside of telemetry studies relating to the TLS implementation.
The resulting PRFileDesc.
TLS socket control object that should be associated with aFileDesc, if applicable.
Generated using TypeDoc
nsISocketProvider