Server.encoding: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/server.bend as Server Lines 595-602 of bolt@1.27.0.0/src/lsp/server.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/server.bend&start_line=595&end_line=602 import Base import emerging-ezjson@1.2.0.0/src/value.bend as J import bolt@1.27.0.0/src/lsp/enc.bend as Enc # the encoding after a message: initialize settles it (enc.bend's # negotiate); every other message keeps it def encoding(mm: Method, params: J.Json, ee: Enc.Enc) -> Enc.Enc: match mm: case MInitialize{}: Enc.negotiate(params) case _other: ee Uses (4): https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=Enc https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=negotiate https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/server.bend&name=Method https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/value.bend&name=Json