├── README.md
├── Example Server
├── Public
│ ├── favicon.ico
│ ├── favicon.png
│ ├── img
│ │ ├── header.jpg
│ │ └── portfolio
│ │ │ ├── 1.jpg
│ │ │ ├── 2.jpg
│ │ │ ├── 3.jpg
│ │ │ ├── 4.jpg
│ │ │ ├── 5.jpg
│ │ │ └── 6.jpg
│ ├── font-awesome
│ │ └── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ ├── fontawesome-webfont.woff
│ │ │ └── fontawesome-webfont.woff2
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ ├── js
│ │ ├── cbpAnimatedHeader.js
│ │ ├── jquery.fittext.js
│ │ ├── creative.js
│ │ └── classie.js
│ └── login.html
├── Views
│ ├── user.html
│ └── tasks.mustache
├── main.h
├── Deliver.swift
├── Authentication
│ └── Authenticator.swift
├── Responders
│ ├── ParametersResponder.swift
│ ├── LoginResponder.swift
│ ├── JSONResponder.swift
│ └── DatabaseResponder.swift
└── main.swift
├── HTTP.xcodeproj
└── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ └── Swifter.xcscmblueprint
├── .gitignore
├── Server Tests
├── HTTPResponse+Test.swift
├── Info.plist
└── ServerTests.swift
├── LICENSE.md
├── Middleware
└── Middleware.swift
├── Responder
└── Responder.swift
├── Libuv
├── Handle.swift
├── Libuv.h
├── include
│ ├── uv-threadpool.h
│ ├── uv-version.h
│ └── uv-darwin.h
├── Buffer.swift
├── TCPStream.swift
├── SocketAddress.swift
├── UVError.swift
├── src
│ ├── version.c
│ └── unix
│ │ ├── spinlock.h
│ │ ├── atomic-ops.h
│ │ ├── dl.c
│ │ └── proctitle.c
├── Pack.swift
├── Libuv.swift
└── UVRunLoop.swift
├── Run Loop
└── RunLoop.swift
├── Keep Alive Type
└── KeepAliveType.swift
├── Example Client
├── main.h
└── main.swift
├── Dispatch
└── Dispatch.h
├── HTTP Parser
└── HTTPParser.h
├── Socket
└── Socket.h
├── HTTP Router
├── HTTPRouter.h
├── HTTPMethodRouter.swift
└── HTTPPathRouter.swift
├── Parameterizable
└── Parameterizable.swift
├── HTTP Server
├── HTTPServer.h
└── HTTPServer.swift
├── Regular Expression
└── RegularExpression.h
├── Socket Stream
├── SocketStream.h
└── SocketStream.swift
├── UV HTTP Server
├── UVHTTPServer.h
└── UVHTTPServer.swift
├── Respondable
└── Respondable.swift
├── HTTP Client
├── HTTPClient.h
└── HTTPClient.swift
├── JSON
├── JSONParser+Data.swift
├── JSONParseError.swift
└── StringUtils.swift
├── PostgreSQL
└── PostgreSQL.h
├── FakeRunLoop
└── FakeRunLoop.swift
├── FastCGIServer
├── FastCGIServer.h
└── FastCGIServer.c
├── Redirect Responder
└── RedirectResponder.swift
├── Stream
└── Stream.swift
├── Text Response
└── HTTPResponse+Text.swift
├── JSON Response
└── HTTPResponse+JSON.swift
├── Parameters Middleware
└── ParametersMiddleware.swift
├── Mustache
├── Error
│ └── MustacheError.swift
├── Compiling
│ └── TemplateAST
│ │ ├── VariableTag.swift
│ │ ├── SectionTag.swift
│ │ └── TemplateAST.swift
├── Rendering
│ └── ExpressionInvocation.swift
├── Parsing
│ └── TemplateToken.swift
├── Goodies
│ ├── HTMLEscape.swift
│ └── URLEscape.swift
└── Generation
│ └── ExpressionGenerator.swift
├── Keep Alive Midleware
└── KeepAliveMiddleware.swift
├── HTTP Serializer
├── HTTPRequestSerializer.swift
└── HTTPResponseSerializer.swift
├── URI
└── URI.swift
├── Headers Middleware
└── HeadersMiddleware.swift
├── File Responder
└── FileResponder.swift
├── Logger Middleware
└── LoggerMiddleware.swift
├── URL Encoded Parser Middleware
└── FormURLEncodedParserMiddleware.swift
├── Error
└── Error.swift
├── Lexicon
└── Dictionary+Lexicon.swift
├── Anthology
└── CollectionType+Anthology.swift
├── HTML Response
└── HTTPResponse+HTML.swift
├── Text Parser Middleware
└── TextParserMiddleware.swift
├── File Response
└── HTTPResponse+File.swift
├── JSON Parser Middleware
└── JSONParserMiddleware.swift
├── Template Response
└── HTTPResponse+Template.swift
├── Media Type
└── MediaType.swift
├── Basic Authentication Middleware
└── BasicAuthenticationMiddleware.swift
├── HTTP Error
└── HTTPError.swift
├── Server
└── Server.swift
├── Server Router
└── ServerRouter.swift
├── File
└── File.swift
├── Request Middleware Result
└── RequestMiddlewareResult.swift
├── Data
└── Data.swift
└── HTTP Method
└── HTTPMethod.swift
/README.md:
--------------------------------------------------------------------------------
1 | [Deprecated]
2 |
--------------------------------------------------------------------------------
/Example Server/Public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/favicon.ico
--------------------------------------------------------------------------------
/Example Server/Public/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/favicon.png
--------------------------------------------------------------------------------
/Example Server/Public/img/header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/img/header.jpg
--------------------------------------------------------------------------------
/Example Server/Public/img/portfolio/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/img/portfolio/1.jpg
--------------------------------------------------------------------------------
/Example Server/Public/img/portfolio/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/img/portfolio/2.jpg
--------------------------------------------------------------------------------
/Example Server/Public/img/portfolio/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/img/portfolio/3.jpg
--------------------------------------------------------------------------------
/Example Server/Public/img/portfolio/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/img/portfolio/4.jpg
--------------------------------------------------------------------------------
/Example Server/Public/img/portfolio/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/img/portfolio/5.jpg
--------------------------------------------------------------------------------
/Example Server/Public/img/portfolio/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/img/portfolio/6.jpg
--------------------------------------------------------------------------------
/Example Server/Public/font-awesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/font-awesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/Example Server/Public/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/Example Server/Public/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/Example Server/Public/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/Example Server/Public/font-awesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/font-awesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/Example Server/Public/font-awesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/font-awesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/Example Server/Public/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/Example Server/Public/font-awesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/font-awesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/Example Server/Public/font-awesome/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZewoGraveyard/SwiftHTTPServer/HEAD/Example Server/Public/font-awesome/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/HTTP.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |