Click or drag to resize

WebPageControllerGetPage Method (String, String, String, String, String, String, CancellationToken)

Sub-folder request handler - depth 5.

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

Parameters

folder1
Type: SystemString
First folder.
folder2
Type: SystemString
Second folder.
folder3
Type: SystemString
Third folder.
folder4
Type: SystemString
Fourth folder.
folder5
Type: SystemString
Fifth 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