=      !"#$%&'()*+,-./0123456789:;<None=Create a new TimeoutManager. >Stop a TimeoutManager. ?3Register a new connection with the TimeoutManager. @ETickle the timeout on a connection to be at least N seconds into the M future. If the existing timeout is set for M seconds from now, where M > N, ! then the timeout is unaffected. AASet the timeout on a connection to be N seconds into the future. B,Modify the timeout with the given function. CCancel a timeout. DE=default timeout function to get current time >?5action to run when the timeout deadline is exceeded. manager to register with. @ABCFG DE=>?@ABC DE=>?@ABCFGNoneHIJKLHIJHIJKLNoneM brutal hack. NOPMQRSTUdefault timeout list of ports number of capabilities  error log session handler Vsession port information read end of socket write end of socket  sendfile end timeout tickler WXYZ[\]^NOPMQRSTUVWXYZ[\]NOPMQRTSUVWXYZ[\]^None_`abc_`abc_`abcNone defghijklm defghijkl defghijklm Nonenonno Nonepqrstuvpqrstuvpqrstuv Nonew;an internal version of the headers part of an HTTP request xwyz{|}~ xwyz{|}~xwyz{|}~ Nonenumber of locks to use hash function hash function  NoneNoneNoneNoneNoneNoneHolds the state for a logger. ICreates a new logger, logging to the given file. If the file argument is  "-", then log to stdout; if it's "stderr" then we log to stderr, K otherwise we log to a regular file in append mode. The file is closed and A re-opened every 15 minutes to facilitate external log rotation. Like 8, but uses a custom error action if the logger needs to ; print an error message of its own (for instance, if it can' t open the  output file.) 0Prepares a log message with the time prepended. Prepares a log message in "combined" format. @Sends out a log message verbatim with a newline appended. Note: $ if you want a fancy log message you'll have to format it yourself  (or use ). <Kills a logger thread, causing any unwritten contents to be  flushed out to disk log file to use #logger uses this action to log any  error messages of its own log file to use  remote host  remote user "request line (up to you to ensure  there are no quotes in here)  status code num bytes sent referer (up to you to ensure  there are no quotes in here)  user agent (up to you to ensure  there are no quotes in here) NoneJThe handler has to return the request object because we have to clear the L HTTP request body before we send the response. If the handler consumes the - request body, it is responsible for setting  rqBody=return in the returned ? request (otherwise we will mess up reading the input stream). Note that we won':t be bothering end users with this -- the details will be  hidden inside the Snap monad Runs an HTTP session. Convert  into  for output. 0local host name session port information access log function error log function monadic action to run default timeout ports to listen on Specify a given event loop, ! otherwise a default is picked local hostname (server name) access log action error log action handler procedure default timeout access logger  error logger handler procedure local host name session port information read end of socket write end of socket  sendfile end timeout tickler write end of socket builder buffer sendfile continuation timeout modifier handler procedure iteratee write end function to call on  sendfile -$None;A record type which represents partial configurations (for  httpServe) $ by wrapping all of its fields in a ". Values of this type are usually  constructed via its # instance by doing something like:   setPort 1234 mempty (Any fields which are unspecified in the  passed to  httpServe (and : this is the norm) are filled in with default values from . =Data type representing the configuration of a logging target log custom IO handler log to text file  no logging EThis datatype allows you to override which backend (either simple or L libev) to use. Most users will not want to set this, preferring to rely on  the compile-type default. LNote that if you specify the libev backend and have not compiled in support + for it, your server will fail at runtime. Returns a completely empty . Equivalent to  from  Config's  instance. -These are the default values for the options KThe hostname of the HTTP server. This field has the same format as an HTTP  Host header; if a Host/ header came in with the request, we use that, D otherwise we default to this value specified in the configuration. Path to the access log Path to the error log BGets the locale to use. Locales are used on Unix only, to set the  LANG/LC_ALL/7etc. environment variable. For instance if you set the  locale to "en_US", we'-ll set the relevant environment variables to  " en_US.UTF-8". )Returns the port to listen on (for http) *Returns the address to bind to (for http) *Returns the port to listen on (for https) +Returns the address to bind to (for https) !Path to the SSL certificate file Path to the SSL key file AIf set and set to True, compression is turned on when applicable 1Whether to write server status updates to stderr (A MonadSnap action to handle 500 errors 4HReturns a description of the snap command line options suitable for use  with System.Console.GetOpt. 5 Returns a 7 obtained from parsing command-line options, using the  default Snap  set. -On Unix systems, the locale is read from the LANG environment variable. 6 Returns a 7 obtained from parsing command-line options, using the  default Snap / set as well as a list of user OptDescrs. User  OptDescrs use the "other" field (accessible using  and  0;) to store additional command-line option state. These are 3 combined using a user-defined combining function. -On Unix systems, the locale is read from the LANG environment variable. 5  !"#$%&'()*+,-./01234the configuration defaults. 5-default configuration. This is combined with  ( to obtain default values to use if the 3 given parameter is specified on the command line.  Usually it is fine to use  here. 6User options. -State for multiple invoked user command-line / options will be combined using this function. -default configuration. This is combined with  Snap's  to obtain default values / to use if the given parameter is specified on - the command line. Usually it is fine to use   here. 71  !"#$%&'()*+,-./012345671   56347 !#1',/.$"%0&2)*+(-0   !"#$%&'()*+,-./01234567None82A short string describing the Snap server version 9JStarts serving HTTP requests using the given handler. This function never E returns; to shut down the HTTP server, kill the controlling thread. This function is like : except it doesn't setup compression, ( reverse proxy address translation (via ), or 3 the error handler; this allows it to be used from . :IStarts serving HTTP requests using the given handler, with settings from  the ? passed in. This function never returns; to shut down the HTTP & server, kill the controlling thread. ;GStarts serving HTTP using the given handler. The configuration is read < from the options given on the command-line, as returned by  55. This function never returns; to shut down the HTTP & server, kill the controlling thread. <Given a string like "en_US", this sets the locale to " en_US.UTF-8".  This doesn't work on Windows. 89:;<6  !"#$%&'()*+,-./0123456789:;<9:;8<89:;< !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`aabcdefghiijklmnopqrstuvwxyqrtsz { | } n ~ q r s t     MKsnap-server-0.8.1.1System.FastLoggerSnap.Http.Server.ConfigSnap.Http.Server(Snap.Internal.Http.Server.TimeoutManager!Snap.Internal.Http.Server.Address!Snap.Internal.Http.Server.Backend"Snap.Internal.Http.Server.HttpPortSnap.Internal.Http.Server.TLS&Snap.Internal.Http.Server.LibevBackend'Snap.Internal.Http.Server.ListenHelpersSnap.Internal.Http.ParserData.Concurrent.HashMapPaths_snap_serverSystem.SendFile.LinuxSystem.SendFileSnap.Internal.Http.Server.Date'Snap.Internal.Http.Server.SimpleBackendSnap.Internal.Http.ServerLogger newLogger newLoggerWithCustomErrorFunctiontimestampedLogEntrycombinedLogEntrylogMsg stopLoggerConfig ConfigLog ConfigIoLog ConfigFileLog ConfigNoLog ConfigBackendConfigLibEvBackendConfigSimpleBackend emptyConfig defaultConfig getHostname getAccessLog getErrorLog getLocalegetPortgetBind getSSLPort getSSLBind getSSLCert getSSLKeygetCompression getVerbosegetErrorHandlergetDefaultTimeoutgetOther getBackend getProxyType setHostname setAccessLog setErrorLog setLocalesetPortsetBind setSSLPort setSSLBind setSSLCert setSSLKeysetCompression setVerbosesetErrorHandlersetDefaultTimeoutsetOther setBackend setProxyTypecompleteConfig optDescrscommandLineConfigextendedCommandLineConfigfmapOptsnapServerVersionsimpleHttpServe httpServequickHttpServesetUnicodeLocale initializestopregisterticklesetmodifycancelTimeoutManager TimeoutHandle $fNumState $fOrdState getHostAddr getAddress getSockAddr'$fExceptionAddressNotSupportedException"$fShowAddressNotSupportedException_sessionNetworkSession_socket_recvLen ListenSocket ListenHttps ListenHttp EventLoopSessionHandler SessionInfo localAddress localPort remoteAddress remotePortisSecure$fShowListenSocketbindHttp createSession endSessionrecvsend TLSExceptioninitTLSstopTLS bindHttpsfreePort$fExceptionTLSExceptionlibEvEventLoop$fExceptionLibevException listenSocket closeSocketIRequestHttpParseExceptioniMethod iRequestUri iHttpVersioniRequestHeaders parseRequestreadChunkedTransferEncoding$fExceptionHttpParseException$fShowIRequestattoparsec-enumerator-0.3Data.Attoparsec.Enumerator iterParsersnap-core-0.8.1Snap.Internal.Parsing strictize parseCookieparseUrlEncodedHashMap hashStringhashInthashBSnullnew'newinsertdeletelookupupdatetoListfromListnextHighestPowerOf2version getBinDir getLibDir getDataDir getLibexecDirgetDataFileNamesendFile sendFileMode getDateStringgetLogDateStringgetCurrentDateTimesimpleEventLoop ServerHandler httpSession cookieToBSSnap.Internal.Http.TypesCookiebytestring-0.9.2.1Data.ByteString.Internal ByteString ServerState_forceConnectionClose_localHostname _sessionPort _logAccess _logErrorExceptionAlreadyCaught TerminatedBeforeHandlerException EventLoopTypeEventLoopLibEvEventLoopSimple ListenPort HttpsPortHttpPort ServerMonad defaultEvTyperunServerMonaddebugElogElogE'bshowlogAlogA'runHTTPrequestErrorMessage sERVER_HEADER logAccesslogErrorcheckExpect100Continue return411receiveRequest sendResponsecheckConnectionClose toHeaders getFileSizel2stoBS!$fExceptionExceptionAlreadyCaught+$fExceptionTerminatedBeforeHandlerException$fShowListenPortbase Data.MaybeMaybe Data.MonoidMonoidmemptySystem.Console.GetOptOptDescr$fTypeable1Config$fMonoidConfig $fShowConfig$fShowConfigLogSnap.Util.Proxy behindProxySnap.Internal.Types MonadSnap