Spec-Zone.ru › Dart 2

dart:io

userAgent property

String? userAgent
read / write

Gets and sets the default value of the User-Agent header for all requests generated by this HttpClient.

The default value is Dart/<version> (dart:io).

If the userAgent is set to null, no default User-Agent header will be added to each request.

Implementation

String? userAgent;

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-io/HttpClient/userAgent.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API