Click or drag to resize

WebPageControllerGetPage Method (String, CancellationToken)

Common page request handler.

Namespace:  GSF.Web.Hosting
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.216-beta
Syntax
[RouteAttribute("{pageName}")]
[HttpGetAttribute]
public Task<HttpResponseMessage> GetPage(
	string pageName,
	CancellationToken cancellationToken
)
Request Example View Source

Parameters

pageName
Type: SystemString
Page name to render.
cancellationToken
Type: System.ThreadingCancellationToken
Propagates notification from client that operations should be canceled.

Return Value

Type: TaskHttpResponseMessage
Rendered page result for given page.
See Also