MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / status_event

Method status_event

chirpstack/src/integration/http.rs:159–170  ·  view source on GitHub ↗
(
        &self,
        _vars: &HashMap<String, String>,
        pl: &integration::StatusEvent,
    )

Source from the content-addressed store, hash-verified

157 }
158
159 async fn status_event(
160 &self,
161 _vars: &HashMap<String, String>,
162 pl: &integration::StatusEvent,
163 ) -> Result<()> {
164 let b = match self.json {
165 true => serde_json::to_vec(&pl)?,
166 false => pl.encode_to_vec(),
167 };
168
169 self.post_event("status", b).await
170 }
171
172 async fn location_event(
173 &self,

Callers 1

test_httpFunction · 0.45

Calls 1

post_eventMethod · 0.45

Tested by 1

test_httpFunction · 0.36