MCPcopy Create free account
hub / github.com/bytesnake/telebot / build_json

Method build_json

src/bot.rs:46–62  ·  view source on GitHub ↗

Builds the HTTP header for a JSON request. The JSON is already converted to a str and is appended to the POST header.

(
        &self,
        func: &'static str,
        msg: String,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

fetch_jsonMethod · 0.80

Calls 1

intoMethod · 0.80

Tested by

no test coverage detected