MCPcopy Create free account
hub / github.com/619dev/minghe / serialize_message

Function serialize_message

src/sip/parser.rs:25–27  ·  view source on GitHub ↗

将 SIP 消息序列化为字节

(msg: &rsip::SipMessage)

Source from the content-addressed store, hash-verified

23
24/// 将 SIP 消息序列化为字节
25pub fn serialize_message(msg: &rsip::SipMessage) -> Vec<u8> {
26 msg.to_string().into_bytes()
27}
28
29/// 从 SIP URI 中提取用户部分(分机号)
30///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected