SSLCertificateSocketFactory.SetUseSessionTickets(Socket, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables session ticket support on the given socket.
[Android.Runtime.Register("setUseSessionTickets", "(Ljava/net/Socket;Z)V", "GetSetUseSessionTickets_Ljava_net_Socket_ZHandler")]
public virtual void SetUseSessionTickets (Java.Net.Socket? socket, bool useSessionTickets);
[<Android.Runtime.Register("setUseSessionTickets", "(Ljava/net/Socket;Z)V", "GetSetUseSessionTickets_Ljava_net_Socket_ZHandler")>]
abstract member SetUseSessionTickets : Java.Net.Socket * bool -> unit
override this.SetUseSessionTickets : Java.Net.Socket * bool -> unit
Parameters
- socket
- Socket
a socket created by this factory
- useSessionTickets
- Boolean
true
to enable session ticket support on this socket.
- Attributes
Exceptions
if the socket was not created by this factory.
Remarks
Enables session ticket support on the given socket.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.