NetworkProxyRequest class

Inheritance
  • Object
  • NativeClass
  • NetworkProxyRequest

Constructors

NetworkProxyRequest([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
body ↔ FutureOr<ArrayBuffer?>
{zh} @brief 请求体,实际上传文件数据时使用
getter/setter pair
body_str ↔ FutureOr<String?>
{zh} @brief 若此成员值不为空,则表示请求体是字符串,优先使用此值
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers ↔ FutureOr<HashMap<String, String>?>
{zh} @brief 请求的 header 信息
getter/setter pair
method ↔ FutureOr<String?>
{zh} @brief 请求方法:"GET" 或 "POST"
getter/setter pair
ready → Future<void>
Whether the instance is initialized
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url ↔ FutureOr<String?>
{zh} @brief 请求的 url 地址
getter/setter pair

Methods

destroy() → void
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) → Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendInstanceGet<T>(String property) → Future<T>
Get instance property
inherited
sendInstanceSet(String property, dynamic value) → Future<void>
Set instance property
inherited
toString() → String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited