-PrologueVersion = "0.3.0"
+PrologueVersion = "0.3.2"
-
The version of Prologue.
@@ -144,7 +144,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:38 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:31 UTC
diff --git a/docs/plugin/src/prologue/core/context.html b/docs/plugin/src/prologue/core/context.html
index f1c2419e7..808eeb8da 100644
--- a/docs/plugin/src/prologue/core/context.html
+++ b/docs/plugin/src/prologue/core/context.html
@@ -995,7 +995,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:45 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:32 UTC
diff --git a/docs/plugin/src/prologue/core/encode.html b/docs/plugin/src/prologue/core/encode.html
index ee83c2da0..ecdba7e54 100644
--- a/docs/plugin/src/prologue/core/encode.html
+++ b/docs/plugin/src/prologue/core/encode.html
@@ -196,7 +196,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:32 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:27 UTC
diff --git a/docs/plugin/src/prologue/core/form.html b/docs/plugin/src/prologue/core/form.html
index a6ece29bd..d11084e80 100644
--- a/docs/plugin/src/prologue/core/form.html
+++ b/docs/plugin/src/prologue/core/form.html
@@ -157,7 +157,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:45 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:32 UTC
diff --git a/docs/plugin/src/prologue/core/httpexception.html b/docs/plugin/src/prologue/core/httpexception.html
index 0bc3aeb98..c43a6f32f 100644
--- a/docs/plugin/src/prologue/core/httpexception.html
+++ b/docs/plugin/src/prologue/core/httpexception.html
@@ -144,7 +144,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:44 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:31 UTC
diff --git a/docs/plugin/src/prologue/core/middlewaresbase.html b/docs/plugin/src/prologue/core/middlewaresbase.html
index 47cec4fe6..1cd4c802e 100644
--- a/docs/plugin/src/prologue/core/middlewaresbase.html
+++ b/docs/plugin/src/prologue/core/middlewaresbase.html
@@ -141,9 +141,9 @@
Source
-Edit
+Edit
@@ -156,7 +156,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:45 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:32 UTC
diff --git a/docs/plugin/src/prologue/core/nativesettings.html b/docs/plugin/src/prologue/core/nativesettings.html
index 4a2ecfa02..73122bc8b 100644
--- a/docs/plugin/src/prologue/core/nativesettings.html
+++ b/docs/plugin/src/prologue/core/nativesettings.html
@@ -293,9 +293,9 @@
Creates a new settings.
Source
-Edit
+Edit
@@ -306,9 +306,9 @@
Creates a new settings.
Source
-Edit
+Edit
@@ -320,9 +320,9 @@
Creates a new settings.
Source
-Edit
+Edit
@@ -335,7 +335,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:44 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:31 UTC
diff --git a/docs/plugin/src/prologue/core/pages.html b/docs/plugin/src/prologue/core/pages.html
index 88bcb9b5b..4f28cdb26 100644
--- a/docs/plugin/src/prologue/core/pages.html
+++ b/docs/plugin/src/prologue/core/pages.html
@@ -170,7 +170,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:38 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:31 UTC
diff --git a/docs/plugin/src/prologue/core/request.html b/docs/plugin/src/prologue/core/request.html
index 64f00c55c..e34e25e15 100644
--- a/docs/plugin/src/prologue/core/request.html
+++ b/docs/plugin/src/prologue/core/request.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:45 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:31 UTC
diff --git a/docs/plugin/src/prologue/core/response.html b/docs/plugin/src/prologue/core/response.html
index 79b2cfcbe..dda6af9a4 100644
--- a/docs/plugin/src/prologue/core/response.html
+++ b/docs/plugin/src/prologue/core/response.html
@@ -421,7 +421,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:37 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:30 UTC
diff --git a/docs/plugin/src/prologue/core/route.html b/docs/plugin/src/prologue/core/route.html
index 1238a13b2..b34be1817 100644
--- a/docs/plugin/src/prologue/core/route.html
+++ b/docs/plugin/src/prologue/core/route.html
@@ -450,7 +450,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:45 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:32 UTC
diff --git a/docs/plugin/src/prologue/core/server.html b/docs/plugin/src/prologue/core/server.html
index 5bd89cba8..1558fed65 100644
--- a/docs/plugin/src/prologue/core/server.html
+++ b/docs/plugin/src/prologue/core/server.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:45 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:32 UTC
diff --git a/docs/plugin/src/prologue/core/types.html b/docs/plugin/src/prologue/core/types.html
index ffd2209cc..015916eca 100644
--- a/docs/plugin/src/prologue/core/types.html
+++ b/docs/plugin/src/prologue/core/types.html
@@ -482,7 +482,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:32 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:27 UTC
diff --git a/docs/plugin/src/prologue/core/urandom.html b/docs/plugin/src/prologue/core/urandom.html
index af0944cac..b6899d26b 100644
--- a/docs/plugin/src/prologue/core/urandom.html
+++ b/docs/plugin/src/prologue/core/urandom.html
@@ -195,7 +195,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:44 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:31 UTC
diff --git a/docs/plugin/src/prologue/core/utils.html b/docs/plugin/src/prologue/core/utils.html
index 57c4b6880..e230cd1ad 100644
--- a/docs/plugin/src/prologue/core/utils.html
+++ b/docs/plugin/src/prologue/core/utils.html
@@ -183,7 +183,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:37 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:30 UTC
diff --git a/docs/plugin/src/prologue/i18n.html b/docs/plugin/src/prologue/i18n.html
index e38504be0..e3802fcb3 100644
--- a/docs/plugin/src/prologue/i18n.html
+++ b/docs/plugin/src/prologue/i18n.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:39 UTC
diff --git a/docs/plugin/src/prologue/i18n/i18n.html b/docs/plugin/src/prologue/i18n/i18n.html
index e4928e028..b8e6b2f71 100644
--- a/docs/plugin/src/prologue/i18n/i18n.html
+++ b/docs/plugin/src/prologue/i18n/i18n.html
@@ -272,7 +272,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:39 UTC
diff --git a/docs/plugin/src/prologue/middlewares.html b/docs/plugin/src/prologue/middlewares.html
index 1a14f6a53..2ee66ca0c 100644
--- a/docs/plugin/src/prologue/middlewares.html
+++ b/docs/plugin/src/prologue/middlewares.html
@@ -119,7 +119,7 @@
-csrfMiddleWare, middlewares/middlewares, sessionMiddleware, httpRedirectMiddleWare, debugRequestMiddleware, checkToken, stripPathMiddleware, clickjackingMiddleWare, middlewares/cors, DefaultTokenName, DefaultSecretSize, csrfToken, CorsMiddleware, middlewares/clickjacking, getToken, middlewares/csrf, debugResponseMiddleware, DefaultTokenSize, generateToken, setToken, loggingMiddleware, middlewares/utils, middlewares/sessions/signedcookiesession
+csrfMiddleWare, middlewares/middlewares, sessionMiddleware, httpRedirectMiddleWare, debugRequestMiddleware, checkToken, stripPathMiddleware, clickjackingMiddleWare, middlewares/cors, DefaultTokenName, DefaultSecretSize, csrfToken, CorsMiddleware, middlewares/clickjacking, getToken, middlewares/csrf, debugResponseMiddleware, DefaultTokenSize, generateToken, setToken, loggingMiddleware, testMiddleware, middlewares/utils, middlewares/sessions/signedcookiesession
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:39 UTC
diff --git a/docs/plugin/src/prologue/middlewares/clickjacking.html b/docs/plugin/src/prologue/middlewares/clickjacking.html
index a63b9033b..2b7c219e6 100644
--- a/docs/plugin/src/prologue/middlewares/clickjacking.html
+++ b/docs/plugin/src/prologue/middlewares/clickjacking.html
@@ -142,7 +142,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:38 UTC
diff --git a/docs/plugin/src/prologue/middlewares/cors.html b/docs/plugin/src/prologue/middlewares/cors.html
index a2a7d640e..e9d91a9f6 100644
--- a/docs/plugin/src/prologue/middlewares/cors.html
+++ b/docs/plugin/src/prologue/middlewares/cors.html
@@ -153,7 +153,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:38 UTC
diff --git a/docs/plugin/src/prologue/middlewares/csrf.html b/docs/plugin/src/prologue/middlewares/csrf.html
index 5f21f8486..f5b4257fd 100644
--- a/docs/plugin/src/prologue/middlewares/csrf.html
+++ b/docs/plugin/src/prologue/middlewares/csrf.html
@@ -261,7 +261,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:38 UTC
diff --git a/docs/plugin/src/prologue/middlewares/middlewares.html b/docs/plugin/src/prologue/middlewares/middlewares.html
index 768abb199..b5db7a889 100644
--- a/docs/plugin/src/prologue/middlewares/middlewares.html
+++ b/docs/plugin/src/prologue/middlewares/middlewares.html
@@ -119,7 +119,7 @@
-loggingMiddleware, debugRequestMiddleware, debugResponseMiddleware, httpRedirectMiddleWare, stripPathMiddleware, utils, cors, CorsMiddleware, sessionMiddleware, sessions/signedcookiesession, clickjackingMiddleWare, clickjacking, DefaultTokenName, checkToken, DefaultSecretSize, DefaultTokenSize, csrfToken, setToken, generateToken, getToken, csrfMiddleWare, csrf
+loggingMiddleware, debugRequestMiddleware, debugResponseMiddleware, testMiddleware, httpRedirectMiddleWare, stripPathMiddleware, utils, cors, CorsMiddleware, sessionMiddleware, sessions/signedcookiesession, clickjackingMiddleWare, clickjacking, DefaultTokenName, checkToken, DefaultSecretSize, DefaultTokenSize, csrfToken, setToken, generateToken, getToken, csrfMiddleWare, csrf
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:39 UTC
diff --git a/docs/plugin/src/prologue/middlewares/sessions/signedcookiesession.html b/docs/plugin/src/prologue/middlewares/sessions/signedcookiesession.html
index 9389cac2f..68411d61d 100644
--- a/docs/plugin/src/prologue/middlewares/sessions/signedcookiesession.html
+++ b/docs/plugin/src/prologue/middlewares/sessions/signedcookiesession.html
@@ -153,7 +153,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:38 UTC
diff --git a/docs/plugin/src/prologue/middlewares/utils.html b/docs/plugin/src/prologue/middlewares/utils.html
index cce610738..719dd5924 100644
--- a/docs/plugin/src/prologue/middlewares/utils.html
+++ b/docs/plugin/src/prologue/middlewares/utils.html
@@ -100,7 +100,9 @@ src/prologue/middlewares/utils
Procs
- - testMiddleware
+ - loggingMiddleware
- debugRequestMiddleware
@@ -129,8 +131,8 @@
-
-proc loggingMiddleware(appName = "Starlight"): HandlerAsync {...}{.raises: [], tags: [].}
+
+proc testMiddleware(): HandlerAsync {...}{.raises: [], tags: [].}
-
@@ -139,6 +141,17 @@
class="link-seesrc" target="_blank">Source
Edit
+
+
+proc loggingMiddleware(appName = "Starlight"): HandlerAsync {...}{.raises: [], tags: [].}
+-
+
+
+ Source
+Edit
+
proc debugRequestMiddleware(appName = "Starlight"): HandlerAsync {...}{.raises: [], tags: [].}
@@ -146,9 +159,9 @@
Source
-Edit
+Edit
@@ -158,9 +171,9 @@
Source
-Edit
+Edit
@@ -169,9 +182,9 @@
Source
-Edit
+Edit
@@ -180,9 +193,9 @@
Source
-Edit
+Edit
@@ -195,7 +208,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:38 UTC
diff --git a/docs/plugin/src/prologue/openapi.html b/docs/plugin/src/prologue/openapi.html
index bc344aa88..5c537113e 100644
--- a/docs/plugin/src/prologue/openapi.html
+++ b/docs/plugin/src/prologue/openapi.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:38 UTC
diff --git a/docs/plugin/src/prologue/openapi/openapi.html b/docs/plugin/src/prologue/openapi/openapi.html
index e10e66e0c..23688988e 100644
--- a/docs/plugin/src/prologue/openapi/openapi.html
+++ b/docs/plugin/src/prologue/openapi/openapi.html
@@ -331,7 +331,7 @@
- Made with Nim. Generated: 2020-08-09 01:32:00 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:38 UTC
diff --git a/docs/plugin/src/prologue/security.html b/docs/plugin/src/prologue/security.html
index 97e7c539c..1de4961ba 100644
--- a/docs/plugin/src/prologue/security.html
+++ b/docs/plugin/src/prologue/security.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:36 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:30 UTC
diff --git a/docs/plugin/src/prologue/security/hasher.html b/docs/plugin/src/prologue/security/hasher.html
index 7f205b1ad..992735efb 100644
--- a/docs/plugin/src/prologue/security/hasher.html
+++ b/docs/plugin/src/prologue/security/hasher.html
@@ -185,7 +185,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:36 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:30 UTC
diff --git a/docs/plugin/src/prologue/security/security.html b/docs/plugin/src/prologue/security/security.html
index 925a85bda..4bb8c5b9a 100644
--- a/docs/plugin/src/prologue/security/security.html
+++ b/docs/plugin/src/prologue/security/security.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:36 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:30 UTC
diff --git a/docs/plugin/src/prologue/signing.html b/docs/plugin/src/prologue/signing.html
index 178a48ab1..48be8c322 100644
--- a/docs/plugin/src/prologue/signing.html
+++ b/docs/plugin/src/prologue/signing.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:35 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:29 UTC
diff --git a/docs/plugin/src/prologue/signing/signing.html b/docs/plugin/src/prologue/signing/signing.html
index d77cb01f4..0ccc5d2ce 100644
--- a/docs/plugin/src/prologue/signing/signing.html
+++ b/docs/plugin/src/prologue/signing/signing.html
@@ -457,7 +457,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:34 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:28 UTC
diff --git a/docs/plugin/src/prologue/signing/signingbase.html b/docs/plugin/src/prologue/signing/signingbase.html
index ff7ff485e..aaf2202f4 100644
--- a/docs/plugin/src/prologue/signing/signingbase.html
+++ b/docs/plugin/src/prologue/signing/signingbase.html
@@ -170,7 +170,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:30 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:26 UTC
diff --git a/docs/plugin/src/prologue/validate/basic.html b/docs/plugin/src/prologue/validate/basic.html
index 31b9393ac..1b459e740 100644
--- a/docs/plugin/src/prologue/validate/basic.html
+++ b/docs/plugin/src/prologue/validate/basic.html
@@ -157,7 +157,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:35 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:29 UTC
diff --git a/docs/plugin/src/prologue/validate/validate.html b/docs/plugin/src/prologue/validate/validate.html
index fb25fc9fd..bfac48a08 100644
--- a/docs/plugin/src/prologue/validate/validate.html
+++ b/docs/plugin/src/prologue/validate/validate.html
@@ -394,7 +394,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:36 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:30 UTC
diff --git a/docs/plugin/src/prologue/validater.html b/docs/plugin/src/prologue/validater.html
index 2631a6fe6..2c2063326 100644
--- a/docs/plugin/src/prologue/validater.html
+++ b/docs/plugin/src/prologue/validater.html
@@ -129,7 +129,7 @@
- Made with Nim. Generated: 2020-08-09 01:31:36 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:30 UTC
diff --git a/docs/plugin/theindex.html b/docs/plugin/theindex.html
index bcb09a69d..94f9421f4 100644
--- a/docs/plugin/theindex.html
+++ b/docs/plugin/theindex.html
@@ -1458,6 +1458,10 @@ Index
- context: SyncEvent
+testMiddleware:
TimedSigner:
- signing: TimedSigner
@@ -1557,7 +1561,7 @@ Index
- Made with Nim. Generated: 2020-08-09 01:32:02 UTC
+ Made with Nim. Generated: 2020-08-09 11:03:39 UTC
diff --git a/prologue.nimble b/prologue.nimble
index bd6955478..1c40cd24a 100644
--- a/prologue.nimble
+++ b/prologue.nimble
@@ -1,6 +1,6 @@
# Package
-version = "0.3.0"
+version = "0.3.2"
author = "flywind"
description = "Full-Stack Web Framework."
license = "Apache-2.0"
diff --git a/src/prologue/core/constants.nim b/src/prologue/core/constants.nim
index e05cc96b7..c3fc724c9 100644
--- a/src/prologue/core/constants.nim
+++ b/src/prologue/core/constants.nim
@@ -1,3 +1,3 @@
const
- PrologueVersion* = "0.3.0" ## The version of Prologue.
+ PrologueVersion* = "0.3.2" ## The version of Prologue.
ProloguePrefix* = "PROLOGUE_" ## The helper prefix for Prologue.