Class UriExtensions
Inherited Members
Namespace: Couchbase.Core.IO.HTTP
Assembly: Couchbase.NetClient.dll
Syntax
public static class UriExtensions
Methods
| Edit this page View SourceSetServicePointOptions(Uri, ClusterOptions, ILogger)
Sets in ServicePoint properties if using a pre-.NET3.1 runtime.
Declaration
public static Uri SetServicePointOptions(this Uri uri, ClusterOptions options, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The Uri to set the property on that matches the ServicePointManager |
ClusterOptions | options | The ClusterOptions with options for the ServicePointManager |
ILogger | logger | The ILogger for logging any exceptions. |
Returns
Type | Description |
---|---|
Uri |
Remarks
For .NET versions 3.1 this method is ignored; set on the SocketsHttpHandler directly.