Condividi tramite


HubConnectionBuilderHttpExtensions.WithUrl Metodo

Definizione

Overload

WithUrl(IHubConnectionBuilder, String)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

WithUrl(IHubConnectionBuilder, Uri)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

WithUrl(IHubConnectionBuilder, String, HttpTransportType)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>)

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

WithUrl(IHubConnectionBuilder, String)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
String

L'URL HttpConnection verrà usato.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a

WithUrl(IHubConnectionBuilder, Uri)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
Uri

L'URL HttpConnection verrà usato.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a

WithUrl(IHubConnectionBuilder, String, HttpTransportType)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
String

L'URL HttpConnection verrà usato.

transports
HttpTransportType

Maschera di bit che combina uno o più HttpTransportType valori che specificano i trasporti che devono essere usati dal client.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a

WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
String

L'URL HttpConnection verrà usato.

configureHttpConnection
Action<HttpConnectionOptions>

Delegato che configura HttpConnection.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
Uri

L'URL HttpConnection verrà usato.

transports
HttpTransportType

Maschera di bit che combina uno o più HttpTransportType valori che specificano i trasporti che devono essere usati dal client.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a

WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL specificato.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
Uri

L'URL HttpConnection verrà usato.

configureHttpConnection
Action<HttpConnectionOptions>

Delegato che configura HttpConnection.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a

WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
String

L'URL HttpConnection verrà usato.

transports
HttpTransportType

Maschera di bit che combina uno o più HttpTransportType valori che specificano i trasporti che devono essere usati dal client.

configureHttpConnection
Action<HttpConnectionOptions>

Delegato che configura HttpConnection.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>)

Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs
Origine:
HubConnectionBuilderHttpExtensions.cs

Configura l'oggetto HubConnection per usare i trasporti basati su HTTP per connettersi all'URL e ai trasporti specificati.

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

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

url
Uri

L'URL HttpConnection verrà usato.

transports
HttpTransportType

Maschera di bit che combina uno o più HttpTransportType valori che specificano i trasporti che devono essere usati dal client.

configureHttpConnection
Action<HttpConnectionOptions>

Delegato che configura HttpConnection.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a