void
send([body_OR_data ])
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 || body_OR_data == null)) {
_blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data);
return;
}
if ((body_OR_data is ByteBuffer || body_OR_data == null)) {
_blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data);
return;
}
if ((body_OR_data is Document || body_OR_data == null)) {
_blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data);
return;
}
if ((body_OR_data is String || body_OR_data == null)) {
_blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data);
return;
}
if ((body_OR_data is FormData || body_OR_data == null)) {
_blink.BlinkXMLHttpRequest.instance.send_Callback_1_(this, body_OR_data);
return;
}
if ((body_OR_data is Blob || body_OR_data == null)) {
_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");
}