SSLSockets.SetUseSessionTickets(SSLSocket, 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 or disables the use of session tickets.
[Android.Runtime.Register("setUseSessionTickets", "(Ljavax/net/ssl/SSLSocket;Z)V", "", ApiSince=29)]
public static void SetUseSessionTickets (Javax.Net.Ssl.SSLSocket socket, bool useSessionTickets);
[<Android.Runtime.Register("setUseSessionTickets", "(Ljavax/net/ssl/SSLSocket;Z)V", "", ApiSince=29)>]
static member SetUseSessionTickets : Javax.Net.Ssl.SSLSocket * bool -> unit
Parameters
- socket
- SSLSocket
the socket
- useSessionTickets
- Boolean
whether to enable or disable the use of session tickets
- Attributes
Remarks
Enables or disables the use of session tickets.
This function must be called before the handshake is started or it will have no effect.
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.