Click or drag to resize

WebPageControllerPostPage Method (String, CancellationToken)

Common post request handler.

Namespace:  GSF.Web.Hosting
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.216-beta
Syntax
[RouteAttribute("{pageName}")]
[HttpPostAttribute]
public Task<HttpResponseMessage> PostPage(
	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