requestPath method

String requestPath ()

The request path as a String.

The request path is the path of the internal URL. That is, it excludes the host, port, base path and any query parameters.

This method returns the request path as a string. This is a value that starts with "/" (e.g. "/foo/bar/baz/").

This is a value that starts with "~/".

Implementation

String requestPath() => _coreRequest.internalPath(server._basePath);