yesod-core-1.1.5: Creation of type-safe, RESTful web applications.

Safe HaskellNone

Yesod.Internal.TestApi

Description

WARNING: This module exposes internal interfaces solely for the purpose of facilitating cabal-driven testing of said interfaces. This module is NOT part of the public Yesod API and should NOT be imported by library users.

Synopsis

Documentation

randomString :: RandomGen g => Int -> g -> StringSource

Generate a random String of alphanumerical characters (a-z, A-Z, and 0-9) of the given length using the given random number generator.

parseWaiRequest'Source

Arguments

:: RandomGen g 
=> Request 
-> [(Text, ByteString)]

session

-> Bool 
-> Word64 
-> g 
-> Request