map

open fun <R> map(clientAuth: Ssl.ClientAuth, none: R, want: R, need: R): R

Map an optional ClientAuth value to a different type.

Return

the mapped value

Since

3.1.0

Parameters

<R>

the result type

clientAuth

the client auth to map (may be null)

none

the value for NONE or null

want

the value for WANT

need

the value for NEED