mvc-middleware
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "mvc-middleware", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Mvc middleware for express like .Net Mvc", | ||
@@ -31,8 +31,10 @@ "scripts": { | ||
"keywords": [ | ||
"dependency", | ||
"injection", | ||
"dependency injection", | ||
"di", | ||
"cheap di", | ||
"instance type" | ||
"mvc", | ||
"controller", | ||
"mvc controller", | ||
"mvc middleware", | ||
"mvc-middleware", | ||
"middleware", | ||
"server", | ||
".net controlelrs" | ||
], | ||
@@ -39,0 +41,0 @@ "dependencies": { |
@@ -214,2 +214,4 @@ # mvc-middleware | ||
## Controller API | ||
`ok` method of `MvcController` returns data with 200 status code. You can pass plain text or object that will be transformed to json. | ||
- `ok` method of `MvcController` returns data with 200 status code. You can pass plain text or object that will be transformed to json. | ||
- `view` returns html view by name (using of `getViewPath` method) | ||
- TBD. |
28016
217