Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. class AllToResponseHeader (hs :: k)

    servant-openapi3 Servant.OpenApi.Internal

    No documentation available.

  2. class ToResponseHeader (h :: k)

    servant-openapi3 Servant.OpenApi.Internal

    No documentation available.

  3. toAllResponseHeaders :: AllToResponseHeader hs => Proxy hs -> InsOrdHashMap HeaderName Header

    servant-openapi3 Servant.OpenApi.Internal

    No documentation available.

  4. toResponseHeader :: ToResponseHeader h => Proxy h -> (HeaderName, Header)

    servant-openapi3 Servant.OpenApi.Internal

    No documentation available.

  5. class AllToResponseHeader (hs :: k)

    servant-swagger Servant.Swagger.Internal

    No documentation available.

  6. class ToResponseHeader (h :: k)

    servant-swagger Servant.Swagger.Internal

    No documentation available.

  7. toAllResponseHeaders :: AllToResponseHeader hs => Proxy hs -> InsOrdHashMap HeaderName Header

    servant-swagger Servant.Swagger.Internal

    No documentation available.

  8. toResponseHeader :: ToResponseHeader h => Proxy h -> (HeaderName, Header)

    servant-swagger Servant.Swagger.Internal

    No documentation available.

  9. sendfileFdWithHeader :: Socket -> Fd -> FileRange -> IO () -> [ByteString] -> IO ()

    simple-sendfile Network.Sendfile

    Simple binding for send() and sendfile() of Linux. Used system calls:

    • EntireFile -- send(), stat() and sendfile()
    • PartOfFile -- send() and sendfile()
    The fifth header is sent with send() + the MSG_MORE flag. If the file is small enough, the header and the file is send in a single TCP packet. If the size of the file is unknown when sending the entire file, specifying PartOfFile is much faster. The fourth action argument is called when a file is sent as chunks. Chucking is inevitable if the socket is non-blocking (this is the default) and the file is large. The action is called after a chunk is sent and before waiting the socket to be ready for writing.

  10. sendfileWithHeader :: Socket -> FilePath -> FileRange -> IO () -> [ByteString] -> IO ()

    simple-sendfile Network.Sendfile

    Simple binding for send() and sendfile() of Linux. Used system calls:

    • EntireFile -- send(), open(), stat(), sendfile(), and close()
    • PartOfFile -- send(), open(), sendfile(), and close()
    The fifth header is sent with send() + the MSG_MORE flag. If the file is small enough, the header and the file is send in a single TCP packet. If the size of the file is unknown when sending the entire file, specifying PartOfFile is much faster. The fourth action argument is called when a file is sent as chunks. Chucking is inevitable if the socket is non-blocking (this is the default) and the file is large. The action is called after a chunk is sent and before waiting the socket to be ready for writing.

Page 286 of many | Previous | Next