Module ranch_transport

Data Types

sendfile_opts()

sendfile_opts() = [{chunk_size, non_neg_integer()}]

socket()

socket() = any()

Function Index

sendfile/6

Function Details

sendfile/6

sendfile(Transport::module(), Socket::socket(), Filename::file:filename_all() | file:fd(), Offset::non_neg_integer(), Bytes::non_neg_integer(), Opts::sendfile_opts()) -> {ok, non_neg_integer()} | {error, atom()}


Generated by EDoc, Oct 15 2014, 09:31:55.