Share via


SSLCertificateSocketFactory.SetUseSessionTickets(Socket, Boolean) Method

Definition

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.

Java documentation for android.net.SSLCertificateSocketFactory.setUseSessionTickets(java.net.Socket, boolean).

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.

Applies to