| Package | Description |
|---|---|
| com.microsoft.rest.v2.http |
This package contains the HTTP abstractions between the AnnotationParser's RestProxy and whatever
HTTP client we choose to use.
|
| Modifier and Type | Method and Description |
|---|---|
SharedChannelPoolOptions |
SharedChannelPoolOptions.clone() |
SharedChannelPoolOptions |
SharedChannelPoolOptions.withIdleChannelKeepAliveDurationInSec(long ttlDurationInSec)
Duration in sec to keep the connection alive in available pool before closing it.
|
SharedChannelPoolOptions |
SharedChannelPoolOptions.withPoolSize(int poolSize)
Sets the max number of connections allowed in the pool.
|
| Constructor and Description |
|---|
Factory(io.netty.bootstrap.Bootstrap baseBootstrap,
int eventLoopGroupSize,
SharedChannelPoolOptions options,
io.netty.handler.ssl.SslContext sslContext)
Create a Netty client factory, specifying the event loop group size and the
channel pool options.
|
Factory(SharedChannelPoolOptions options)
Create a Netty client factory, specifying the channel pool options.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/