dominikh / go-js-xhr

MIT License
19 stars 7 forks source link

Update docs for Send to include []byte as valid parameter. #4

Closed dmitshur closed 9 years ago

dmitshur commented 9 years ago

See https://github.com/gopherjs/gopherjs/issues/167 for confirmation that it makes sense.

Should note that using []byte parameter ends up being an ArrayBufferView, which XHR send accepts to transfer binary data.