Skip to main content

Crate ohos_netstack_sys

Crate ohos_netstack_sys 

Source
Available on crate feature api-11 only.
Expand description

Rust bindings to OpenHarmony NetworkKit (netstack) native APIs.

§Feature flags

  • api-11 — API-11 is the minimum API level required for the netstack bindings.
  • api-16 — Enables bindings for OpenHarmony API-level 16.
  • api-17 — Enables bindings for OpenHarmony API-level 17.
  • api-18 — Enables bindings for OpenHarmony API-level 18.
  • api-19 — Enables bindings for OpenHarmony API-level 19.
  • api-20 — Enables bindings for OpenHarmony API-level 20.
  • api-21 — Enables bindings for OpenHarmony API-level 21.
  • document-features — Document available features when building the documentation

Modules§

net_httpapi-20
C interface for the HTTP module of NetworkKit netstack.
net_http_typeapi-20
Data structures for the C APIs of the HTTP module.
net_websocket
C interface for the WebSocket client module of NetworkKit netstack.
net_websocket_type
Data structures for the C APIs of the WebSocket client module.