Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
The class that describes information about a URL's route
Properties
string uri
- URI without domain, arguments and anchor
object urlArgs
- Request url arguments with automatic conversion to JS types
object postArgs
- POST request arguments with automatic conversion to JS types. Set on the server side when processing a received request. urlArgs analog
object postArgsRaw
- Query POST arguments without conversion to JS types. Set on the server side when processing a received request. urlArgsRaw analog
object args
- Query POST and GET arguments with conversion to JS types
object argsRaw
- Request POST and GET arguments without automatic conversion to JS types
int port
- Port number if specified in the URL
Methods
constructor(
string a_url,
string a_relativeMode
= "relative",
object a_postArgs
= {})
constructor(
fcf.RouteInfo a_routeInfo,
string a_relativeMode
= "relative",
object a_postArgs
= {})
- Class constructor