Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. setProcessFormInputs :: Bool -> UploadPolicy -> UploadPolicy

    snap-core Snap.Util.FileUploads

    Set the upload policy for treating parts without filenames as form input.

  2. setSkipFilesWithoutNames :: Bool -> FileUploadPolicy -> FileUploadPolicy

    snap-core Snap.Util.FileUploads

    Skip files with empty file names. If set, parts without filenames will not be fed to storage function. HTML5 form data encoding standard states that form input fields of type file, without value set, are encoded same way as if file with empty body, empty file name, and type application/octet-stream was set as value. You most likely want to use this with zero bytes allowed to avoid storing such fields (see setMaximumSkippedFileSize). By default files without names are skipped. Since: 1.0.3.0

  3. setUploadTimeout :: Int -> UploadPolicy -> UploadPolicy

    snap-core Snap.Util.FileUploads

    Set the upload timeout.

  4. setWindowTitle :: Vty -> String -> IO ()

    vty Graphics.Vty

    Set the terminal window title string.

  5. setCursorPos :: Output -> Int -> Int -> IO ()

    vty Graphics.Vty.Output

    Sets the cursor position to the given output column and row. This is not necessarily the same as the character position with the same coordinates. Characters can be a variable number of columns in width. Currently, the only way to set the cursor position to a given character coordinate is to specify the coordinate in the Picture instance provided to outputPicture or refresh.

  6. setDisplayBounds :: Output -> (Int, Int) -> IO ()

    vty Graphics.Vty.Output

    Sets the current display bounds (width, height).

  7. setMode :: Output -> Mode -> Bool -> IO ()

    vty Graphics.Vty.Output

    Enables or disables a mode (does nothing if the mode is unsupported).

  8. setOutputWindowTitle :: Output -> String -> IO ()

    vty Graphics.Vty.Output

    Set the output's window title, if any.

  9. setMethod :: Method -> RequestBuilder site ()

    yesod-test Yesod.Test

    Sets the HTTP method used by the request.

    Examples

    request $ do
    setMethod "POST"
    
    import Network.HTTP.Types.Method
    request $ do
    setMethod methodPut
    

  10. setRequestBody :: ByteString -> RequestBuilder site ()

    yesod-test Yesod.Test

    Simple way to set HTTP request body

    Examples

    request $ do
    setRequestBody "foobar"
    
    import Data.Aeson
    request $ do
    setRequestBody $ encode $ object ["age" .= (1 :: Integer)]
    

Page 305 of many | Previous | Next