def wrap
import bolt@1.27.0.0/src/lsp/frame.bend as Frameimport Base
284# a message on its way out
285def wrap(+body: String) -> String:
286 "Content-Length: " ++ count.show(byte_count(String.to_list(body), [D0{}]), "") ++ "\r\n\r\n" ++ body
import bolt@1.27.0.0/src/lsp/frame.bend as Frameimport Base
284# a message on its way out
285def wrap(+body: String) -> String:
286 "Content-Length: " ++ count.show(byte_count(String.to_list(body), [D0{}]), "") ++ "\r\n\r\n" ++ body