MCPcopy
hub / github.com/tinode/chat / ErrVersionNotSupported

Function ErrVersionNotSupported

server/datamodel.go:1740–1751  ·  view source on GitHub ↗

ErrVersionNotSupported invalid (too low) protocol version (505).

(id string, ts time.Time)

Source from the content-addressed store, hash-verified

1738
1739// ErrVersionNotSupported invalid (too low) protocol version (505).
1740func ErrVersionNotSupported(id string, ts time.Time) *ServerComMessage {
1741 return &ServerComMessage{
1742 Ctrl: &MsgServerCtrl{
1743 Id: id,
1744 Code: http.StatusHTTPVersionNotSupported, // 505
1745 Text: "version not supported",
1746 Timestamp: ts,
1747 },
1748 Id: id,
1749 Timestamp: ts,
1750 }
1751}

Callers 1

helloMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…