úÎuŞk8      !"#$%&'()*+,-./01234567None8Create a new TimeoutManager. 9Stop 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. <ASet the timeout on a connection to be N seconds into the future. =Cancel a timeout. >?8default timeout function to get current time 9:5action to run when the timeout deadline is exceeded. manager to register with. ;<=@>?89:;<= >?89:;<=@NoneABCDEABCABCDENoneF brutal hack. GHIFJKLMNdefault timeout list of ports number of capabilities  error log session handler Osession port information read end of socket write end of socket  sendfile end timeout tickler PQRSTUVWGHIFJKLMNOPQRSTUVGHIFJKMLNOPQRSTUVWNoneXYZ[\XYZ[\XYZ[\None ]^_`abcdef ]^_`abcde ]^_`abcdef Noneghggh Noneijklmnoijklmnoijklmno Nonep;an internal version of the headers part of an HTTP request qprstuvwxyz {|}~qprstuvwxqprstuvwxyz None€‚ƒ„number of locks to use hash function …hash function †‡ˆ‰Š‹Œ€‚ƒ„…†‡ˆ‰Š‹Œ€‚ƒ„…†‡ˆ‰Š‹Œ None‘’‘’‘’None“““None”“””None•–—•–—•–—None˜˜˜NoneHolds 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) None™JThe 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. 0Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯™°±local 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 tickler 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  The hostname of the HTTP server Path to the access log Path to the error log The locale to use )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 2 Returns a 4 obtained from parsing the options specified on the  command-line. -On Unix systems, the locale is read from the LANG environment variable. 0  !"#$%&'()*+,-./012-default configuration. This is combined with  ( to obtain default values to use if the ; given parameter is specified on the command line. Usually  it is fine to use  here. ÎÏĞÑ,  !"#$%&'()*+,-./012,   21 "0&+.-#!$/%()*',+   !"#$%&'()*+,-./012ÎÏĞÑNone32A short string describing the Snap server version 4JStarts 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 5 except it doesn't setup compression or 3 the error handler; this allows it to be used from Ò. 5IStarts 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. 6GStarts serving HTTP using the given handler. The configuration is read < from the options given on the command-line, as returned by  25. This function never returns; to shut down the HTTP & server, kill the controlling thread. 7Given a string like "en_US", this sets the locale to " en_US.UTF-8".  This doesn't work on Windows. 345671  !"#$%&'()*+,-./012345674563734567Ó !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZZ[\]^_`abbcdefghijklmnopqrjkmls t u v g w j k l m x y x z { | } ~  € ‚ƒ„…†‡…†ˆ…†‰ Š ‹ Œ ‘ ’ “ ” • – — ˜ ™ š › œ Ÿ ¡¢£¤¥¦…§¨©ª«¬¬­®¯°±²²³³´µ¶·¸¹º»¼H½¾¿ÀÁÂÃÄÅFÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖÔרÔ×ÙÚÛÜİ…Şßàsnap-server-0.7.0.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 setHostname setAccessLog setErrorLog setLocalesetPortsetBind setSSLPort setSSLBind setSSLCert setSSLKeysetCompression setVerbosesetErrorHandlersetDefaultTimeoutsetOther setBackendcompleteConfigcommandLineConfigsnapServerVersionsimpleHttpServe httpServequickHttpServesetUnicodeLocale initializestopregisterticklesetcancelTimeoutManager TimeoutHandle $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.7.0.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.MonoidMonoidmempty$fTypeable1Config$fMonoidConfig $fShowConfig$fShowConfigLogSnap.Internal.Types MonadSnap