@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
def
Network.Sendfile.sendFile
(sock : Socket.Socket Socket.SocketState.connected)
(path : String)
(part : Option FilePart := none)
:
Send a file (or portion thereof) over a connected socket. Uses read+send fallback implementation. $$\text{sendFile} : \text{Socket}\ \texttt{.connected} \to \text{String} \to \text{Option}(\text{FilePart}) \to \text{IO}(\text{Unit})$$
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
def
Network.Sendfile.sendFileSimple
(sock : Socket.Socket Socket.SocketState.connected)
(path : String)
:
Send an entire file over a connected socket. $$\text{sendFileSimple} : \text{Socket}\ \texttt{.connected} \to \text{String} \to \text{IO}(\text{Unit})$$
Equations
- Network.Sendfile.sendFileSimple sock path = Network.Sendfile.sendFile sock path