send method
void send(Source
void send([body_OR_data]) { if (body_OR_data != null) { _blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data); return; } if ((body_OR_data is TypedData)) { _blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data); return; } if ((body_OR_data is ByteBuffer)) { _blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data); return; } if ((body_OR_data is Document)) { _blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data); return; } if ((body_OR_data is String)) { _blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data); return; } if ((body_OR_data is FormData)) { _blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data); return; } if ((body_OR_data is Blob)) { _blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data); return; } if (body_OR_data == null) { _blink.BlinkXMLHttpRequest.instance.send_Callback_0_(this); return; } throw new ArgumentError("Incorrect number or type of arguments"); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/HttpRequest/send.html