Click or drag to resize

WebPageControllerPostPage Method (String, String, String, CancellationToken)

Sub-folder post handler - depth 2.

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

Parameters

folder1
Type: SystemString
First folder.
folder2
Type: SystemString
Second folder.
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 and path.
See Also