HubConnectionBuilderHttpExtensions.WithUrl Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
WithUrl(IHubConnectionBuilder, String) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada. |
WithUrl(IHubConnectionBuilder, Uri) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada. |
WithUrl(IHubConnectionBuilder, String, HttpTransportType) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados. |
WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada. |
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados. |
WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada. |
WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados. |
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>) |
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados. |
WithUrl(IHubConnectionBuilder, String)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- String
Dirección URL que usará el HttpConnection.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.
Se aplica a
WithUrl(IHubConnectionBuilder, Uri)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- Uri
Dirección URL que usará el HttpConnection.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.
Se aplica a
WithUrl(IHubConnectionBuilder, String, HttpTransportType)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Microsoft.AspNetCore.Http.Connections.HttpTransportType -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, transports As HttpTransportType) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- String
Dirección URL que usará el HttpConnection.
- transports
- HttpTransportType
Máscara de bits que combina uno o varios valores de HttpTransportType que especifican qué transporte debe usar el cliente.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.
Se aplica a
WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- String
Dirección URL que usará el HttpConnection.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegado que configura el HttpConnection.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.
Se aplica a
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, transports As HttpTransportType) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- Uri
Dirección URL que usará el HttpConnection.
- transports
- HttpTransportType
Máscara de bits que combina uno o varios valores de HttpTransportType que especifican qué transporte debe usar el cliente.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.
Se aplica a
WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL especificada.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- Uri
Dirección URL que usará el HttpConnection.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegado que configura el HttpConnection.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.
Se aplica a
WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Microsoft.AspNetCore.Http.Connections.HttpTransportType * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, transports As HttpTransportType, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- String
Dirección URL que usará el HttpConnection.
- transports
- HttpTransportType
Máscara de bits que combina uno o varios valores de HttpTransportType que especifican qué transporte debe usar el cliente.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegado que configura el HttpConnection.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.
Se aplica a
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>)
Configura el HubConnection para usar transportes basados en HTTP para conectarse a la dirección URL y los transportes especificados.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, transports As HttpTransportType, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parámetros
- hubConnectionBuilder
- IHubConnectionBuilder
El IHubConnectionBuilder que se va a configurar.
- url
- Uri
Dirección URL que usará el HttpConnection.
- transports
- HttpTransportType
Máscara de bits que combina uno o varios valores de HttpTransportType que especifican qué transporte debe usar el cliente.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegado que configura el HttpConnection.
Devoluciones
La misma instancia del IHubConnectionBuilder para encadenar.