baseURL property

String baseURL

Implementation

String get baseURL => _baseUrl.toString();
void baseURL=(String baseURL)

The base URL of the request.

For example, 'http://localhost:8000'. May contain base path segments. The path will be appended to this value when this request is executed.

This property is set to Agent.baseURL of the creating agent.

Implementation

set baseURL(String baseURL) {
  _baseUrl = Uri.parse(baseURL);
}