Packages

Common Gateway Interface (CGI) in Gleam

Current section

Files

Jump to
cgi src cgi_ffi.erl
Raw

src/cgi_ffi.erl

-module(cgi_ffi).
-export([read_body_sync/1]).
read_body_sync(Length) ->
try
io:get_chars(standard_io, "", Length)
catch
_:_ -> <<>>
end.