object ConnectionContext
- Source
- ConnectionContext.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConnectionContext
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def httpsClient(createSSLEngine: (String, Int) => SSLEngine): HttpsConnectionContext
If you want complete control over how to create the SSLEngine you can use this method.
If you want complete control over how to create the SSLEngine you can use this method.
Note that this means it is up to you to make sure features like SNI and hostname verification are enabled as needed.
- Annotations
- @ApiMayChange()
- def httpsClient(context: SSLContext): HttpsConnectionContext
Creates an HttpsConnectionContext for client-side use from the given SSLContext.
- def httpsServer(createSSLEngine: () => SSLEngine): HttpsConnectionContext
If you want complete control over how to create the SSLEngine you can use this method.
If you want complete control over how to create the SSLEngine you can use this method.
- Annotations
- @ApiMayChange()
- def httpsServer(sslContext: SSLContext): HttpsConnectionContext
Creates an HttpsConnectionContext for server-side use from the given SSLContext.
- def noEncryption(): HttpConnectionContext