Cargo Features
[dependencies]
reqwasm = { version = "0.5.0", default-features = false, features = ["json", "websocket", "http"] }
- default = http, json, websocket
-
These default features are set whenever
reqwasm
is added without
somewhere in the dependency tree.default-features = false - json default
-
Enables json of gloo-net ^0.1.0
gloo-net:
Enables
.json()
onResponse
- websocket default
-
Enables websocket of gloo-net ^0.1.0
gloo-net:
Enables the WebSocket API
- http default
-
Enables http of gloo-net ^0.1.0
gloo-net:
Enables the HTTP API
Reqwasm has 4 features without comments.