Partager via


HubConnectionBuilderHttpExtensions.WithUrl Méthode

Définition

Surcharges

WithUrl(IHubConnectionBuilder, String)

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

WithUrl(IHubConnectionBuilder, Uri)

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

WithUrl(IHubConnectionBuilder, String, HttpTransportType)

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

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

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

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

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

WithUrl(IHubConnectionBuilder, String)

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
String

URL que le HttpConnection va utiliser.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à

WithUrl(IHubConnectionBuilder, Uri)

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
Uri

URL que le HttpConnection va utiliser.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à

WithUrl(IHubConnectionBuilder, String, HttpTransportType)

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
String

URL que le HttpConnection va utiliser.

transports
HttpTransportType

Masque de bits combinant une ou plusieurs HttpTransportType valeurs qui spécifient les transports que le client doit utiliser.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à

WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
String

URL que le HttpConnection va utiliser.

configureHttpConnection
Action<HttpConnectionOptions>

Délégué qui configure le HttpConnection.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
Uri

URL que le HttpConnection va utiliser.

transports
HttpTransportType

Masque de bits combinant une ou plusieurs HttpTransportType valeurs qui spécifient les transports que le client doit utiliser.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à

WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL spécifiée.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
Uri

URL que le HttpConnection va utiliser.

configureHttpConnection
Action<HttpConnectionOptions>

Délégué qui configure le HttpConnection.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à

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

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
String

URL que le HttpConnection va utiliser.

transports
HttpTransportType

Masque de bits combinant une ou plusieurs HttpTransportType valeurs qui spécifient les transports que le client doit utiliser.

configureHttpConnection
Action<HttpConnectionOptions>

Délégué qui configure le HttpConnection.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à

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

Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs
Source:
HubConnectionBuilderHttpExtensions.cs

Configure le pour utiliser des HubConnection transports basés sur HTTP pour se connecter à l’URL et aux transports spécifiés.

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

Paramètres

hubConnectionBuilder
IHubConnectionBuilder

IHubConnectionBuilder à configurer.

url
Uri

URL que le HttpConnection va utiliser.

transports
HttpTransportType

Masque de bits combinant une ou plusieurs HttpTransportType valeurs qui spécifient les transports que le client doit utiliser.

configureHttpConnection
Action<HttpConnectionOptions>

Délégué qui configure le HttpConnection.

Retours

La même instance du IHubConnectionBuilder pour le chaînage.

S’applique à