def read.text
import gralha-http-server@0.1.0.0/server.bend as Serverimport Base
import gralha-http-core@0.1.0.0/http.bend as Http
31# The request's text: received until it is whole (Http.request.complete),
32# the peer stops sending, or more than max bytes arrived; "" on an error.
33def read.text(socket: Socket, +max: U32) -> IO(Socket & String):
34 read.go(socket, max, "")