|
|
@@ -15,11 +15,11 @@ namespace Microsoft.AspNetCore.Connections
|
|
|
/// <summary>
|
|
|
/// Creates a new connection to an endpoint.
|
|
|
/// </summary>
|
|
|
- /// <param name="endPoint">The <see cref="EndPoint"/> to connect to.</param>
|
|
|
+ /// <param name="endpoint">The <see cref="EndPoint"/> to connect to.</param>
|
|
|
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
|
|
|
/// <returns>
|
|
|
/// A <see cref="ValueTask{TResult}" /> that represents the asynchronous connect, yielding the <see cref="ConnectionContext" /> for the new connection when completed.
|
|
|
/// </returns>
|
|
|
- ValueTask<ConnectionContext> ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken = default);
|
|
|
+ ValueTask<ConnectionContext> ConnectAsync(EndPoint endpoint, CancellationToken cancellationToken = default);
|
|
|
}
|
|
|
}
|