CaddyServer.Req (CaddyServer v0.2.0)

Req, send request through socket

Link to this section Summary

Link to this section Functions

Link to this function

delete(path, data, content_type \\ "application/json")

Link to this function

do_recv(socket)

Link to this function

do_recv(socket, arg, resp)

Link to this function

patch(path, data, content_type \\ "application/json")

Link to this function

post(path, data, content_type \\ "application/json")

Link to this function

put(path, data, content_type \\ "application/json")

Link to this function

read_body(socket, resp)

Link to this function

read_chunked_body(socket, resp)

Link to this function

read_chunked_body(socket, resp, acc)

Link to this function

read_stream(socket)

Link to this function

write_stream(socket, data)