Udostępnij za pośrednictwem


HubConnectionBuilderHttpExtensions.WithUrl Metoda

Definicja

Przeciążenia

WithUrl(IHubConnectionBuilder, String)

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

WithUrl(IHubConnectionBuilder, Uri)

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

WithUrl(IHubConnectionBuilder, String, HttpTransportType)

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

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

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

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

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

WithUrl(IHubConnectionBuilder, String)

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
String

Adres URL, który HttpConnection będzie używany.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy

WithUrl(IHubConnectionBuilder, Uri)

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
Uri

Adres URL, który HttpConnection będzie używany.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy

WithUrl(IHubConnectionBuilder, String, HttpTransportType)

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
String

Adres URL, który HttpConnection będzie używany.

transports
HttpTransportType

Maska bitowa łącząca co najmniej jedną HttpTransportType wartość określającą, z czego ma korzystać klient.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy

WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
String

Adres URL, który HttpConnection będzie używany.

configureHttpConnection
Action<HttpConnectionOptions>

Delegat, który konfiguruje element HttpConnection.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy

WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
Uri

Adres URL, który HttpConnection będzie używany.

transports
HttpTransportType

Maska bitowa łącząca co najmniej jedną HttpTransportType wartość określającą, z czego ma korzystać klient.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy

WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje program HubConnection do używania transportu opartego na protokole HTTP w celu nawiązania połączenia z określonym adresem URL.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
Uri

Adres URL, który HttpConnection będzie używany.

configureHttpConnection
Action<HttpConnectionOptions>

Delegat, który konfiguruje element HttpConnection.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy

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

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
String

Adres URL, który HttpConnection będzie używany.

transports
HttpTransportType

Maska bitowa łącząca co najmniej jedną HttpTransportType wartość określającą, z czego ma korzystać klient.

configureHttpConnection
Action<HttpConnectionOptions>

Delegat, który konfiguruje element HttpConnection.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy

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

Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs
Źródło:
HubConnectionBuilderHttpExtensions.cs

Konfiguruje element do używania transportu opartego na protokole HubConnection HTTP w celu nawiązania połączenia z określonym adresem URL i transportami.

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

Parametry

hubConnectionBuilder
IHubConnectionBuilder

Element do skonfigurowania IHubConnectionBuilder .

url
Uri

Adres URL, który HttpConnection będzie używany.

transports
HttpTransportType

Maska bitowa łącząca co najmniej jedną HttpTransportType wartość określającą, z czego ma korzystać klient.

configureHttpConnection
Action<HttpConnectionOptions>

Delegat, który konfiguruje element HttpConnection.

Zwraca

To samo wystąpienie elementu IHubConnectionBuilder do tworzenia łańcucha.

Dotyczy