EndpointHttpContextExtensions.SetEndpoint(HttpContext, Endpoint) EndpointHttpContextExtensions.SetEndpoint(HttpContext, Endpoint) EndpointHttpContextExtensions.SetEndpoint(HttpContext, Endpoint) Method

Definition

Extension method for setting the Endpoint for the current request.

public:
[System::Runtime::CompilerServices::Extension]
 static void SetEndpoint(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Http::Endpoint ^ endpoint);
public static void SetEndpoint (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint endpoint);
static member SetEndpoint : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.Endpoint -> unit

Parameters

Applies to