# Webassembly passing httprequest object variable

**URL:** https://talk.remobjects.com/t/webassembly-passing-httprequest-object-variable/21362
**Category:** Oxygene
**Tags:** island, webassembly
**Created:** [February 13, 2020, 8:05am UTC](https://talk.remobjects.com/t/webassembly-passing-httprequest-object-variable/21362 "2020-02-13T08:05:20Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Diego\_Navarro](https://talk.remobjects.com/user_avatar/talk.remobjects.com/diego_navarro/32/11766_2.png) [@Diego\_Navarro](https://talk.remobjects.com/u/Diego_Navarro)
#### Post date: [February 14, 2020, 7:56am UTC](https://talk.remobjects.com/t/webassembly-passing-httprequest-object-variable/21362/3 "2020-02-14T07:56:03Z")

</div>

Hi, onLoad does not have parameters, you can use:

```auto
xhttp.onload := new WebAssemblyDelegate(() -> writeLn('Status Text: ' + xhttp.statusText));

```

---

_[View the full topic](https://talk.remobjects.com/t/webassembly-passing-httprequest-object-variable/21362)._
