Releases
v1.0.0
1.0.0 (2018-07-27)
Bug Fixes
fix internal httpError files resolution paths. (fff33e0 )
Features
add a getDefaultDocument method that returns the default document for a given directory if fou (3d2203c )
add a logProfile method that logs the profiled request response, time, method, response status (f0153eb )
add a mkDirSync method that recursively creates unexisting path directories (8060dd0 )
add a Router() method that returns a mountable mini-app Router when called. (7fce028 )
add a serveDownload method, endStream method and getDefaultHeaders method (d4320d5 )
add ability to override middlewares through use method (3373b40 )
add ability to set or override middlewares (b78d27f )
add an endResponse method that sends out response back to the client after all processes have (d1fdd51 )
add an onRequestEnd event handler (a5da70b )
create a cleanUpTempFiles that performs housekeeping once the response finish event has fired. (77c33a5 )
create a getFileTag that computes a files eTag (d2c13b3 )
create a parse method that drives the module, calling the appropriate parse type by inspecting (2f5b4e2 )
create a parseJSON method that parses json encoded request bodies (ae4508a )
create a parseMultiPart method that parses multipart request bodies, handles file uploads both (4042c50 )
create a parsePartHeaders method that parses a multipart part headers (fd92384 )
create a parseUrlEncoded and parseQueryString methods that parses url encoded request bodies a (dd03de8 )
create a processFile method that handles file uploads (b9b77f3 )
create a RouteWrapper module, that is return by the route method, for chaining routes (80a664c )
create a runSafe method on the util module that executes middlewares and controllers safely, s (17293c6 )
create a serve method that runs an integrated process, and serves a response or ignores the re (b8152fd )
create a serveHttpErrorFile method that serves a custom user defined http error file for a giv (fbd7753 )
create a utility module that provides utility methods to other modules (fa178e1 )
create an assignValue method that assigns parsed value to a target object (569e2e1 )
create an initServer metho that initializes the server and sets up event handlers (df3dfbe )
create interfaces for middleware usage and for adding routes (a8bef61 )
create internal http error status code files that gets served when errors such as 404, 504, 40 (385996c )
create onRequestEnd event handler, request body parser controller, and on response finish hous (d59f83f )
create the internal config file used by the server that contains all default server settings (dcfde45 )
create the main export file. exposes an instanc() method that when called returns an instance (ce3f44d )
create the onRequest event handler, onRequestData event handler (9788d54 )
create the route runner that specifically executes routes (380216e )
Create the Router module. Module that offers route api methods and middleware use interface (48988c4 )
routing: create a run method that runs the route's controller if all processes validates. (c3db08f )
Create the Static File Server module. (9ee7194 )
routing: create a validateRoute method that validates if the request method and the route's me (e8fc2eb )
extend http ServerResponse and IncomingMessage classes by providing additional api layers (30642a2 )
app: Create the RServerApp, the user facing interface. it exposes all the api methods such as (075b9f1 )
BodyParser: create the BodyParser module. This module parses url encoded request bodies, json (3055a9a )
content-negotiation: create a negotiateContent method that negotiates request content (87f4d77 )
logger: Add a logger module that logs messages to the console. (ec93fa2 )
router: creat the Router module. (3eabdb1 )
Extend node.js http.ServerResponse class, add a download method that sends file attachments to (29a06cf )
routing: create a decomposeRouteToken method that performs parameter capturing (028502f )
routing: create a validateOptions method that validates other route's additional requirements (4c0aa6d )
routing: Create matchUrl method that performs url testing. it formats the current route's url (d52e772 )
routing: create rest api endpoints, get, post, put, delete, head, options, and universal route (f8aaa7f )
RServer: create the server module, currently contains the ability to resolve the user defined (9b6269c )
validator: create a validateRequest method that validates the state of the request, and determ (8b90213 )
You can’t perform that action at this time.