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)) {
_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");
}