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, query parameters and fragment identifiers

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);