@@ -39,7 +39,7 @@ See [deno.land](https://deno.land/#installation) for more installation options.
3939### Start the server
4040You can start the server with the command "deno run -A . /server.ts".
4141``` typescript
42- import { System , Config } from " https://github.com/PuddleServer/Puddle/raw/v1.1.0 -beta/mod.ts" ;
42+ import { System , Config } from " https://github.com/PuddleServer/Puddle/raw/v1.1.1 -beta/mod.ts" ;
4343
4444System .listen (8080 , (conf : Config ) => {
4545 console .log (` The server running on http://${conf .hostname }:${conf .port } ` );
@@ -49,7 +49,7 @@ System.listen(8080, (conf: Config) => {
4949### Configuring Routing
5050You can host a static server by simply specifying the file path!
5151``` typescript
52- import { System , Config } from " https://github.com/PuddleServer/Puddle/raw/v1.1.0 -beta/mod.ts" ;
52+ import { System , Config } from " https://github.com/PuddleServer/Puddle/raw/v1.1.1 -beta/mod.ts" ;
5353
5454System .createRoute (" ./index.html" ).URL (" /" , " /Top" );
5555
@@ -63,7 +63,7 @@ System.listen(8080, (conf: Config) => {
6363### Configuring Controller
6464If you want to set up dynamic processing, connect the method to the route you created and specify the handler function.
6565``` typescript
66- import { System , Config , SystemRequest , SystemResponse } from " https://github.com/PuddleServer/Puddle/raw/v1.1.0 -beta/mod.ts" ;
66+ import { System , Config , SystemRequest , SystemResponse } from " https://github.com/PuddleServer/Puddle/raw/v1.1.1 -beta/mod.ts" ;
6767
6868System .createRoute (" ContactForm" ).URL (" /Contact" )
6969.GET (async (req : SystemRequest , res : SystemResponse ) => {
@@ -90,7 +90,7 @@ System.listen(8080, (conf: Config) => {
9090### How to set up the redirection process
9191The Puddle Framework provides two ways to redirect clients.
9292``` typescript
93- import { System , Config , SystemRequest , SystemResponse , redirect } from " https://github.com/PuddleServer/Puddle/raw/v1.1.0 -beta/mod.ts" ;
93+ import { System , Config , SystemRequest , SystemResponse , redirect } from " https://github.com/PuddleServer/Puddle/raw/v1.1.1 -beta/mod.ts" ;
9494
9595System .createRoute (" example1" ).URL (" /Redirect1" )
9696.GET (redirect (" https://www.example.com" ));
@@ -110,7 +110,7 @@ System.listen(8080, (conf: Config) => {
110110### Start the Websocket server
111111Websockets server routing can be done in the same way as web server routing!
112112``` typescript
113- import { System , Config , SystemRequest , WebSocketClient } from " https://github.com/PuddleServer/Puddle/raw/v1.1.0 -beta/mod.ts" ;
113+ import { System , Config , SystemRequest , WebSocketClient } from " https://github.com/PuddleServer/Puddle/raw/v1.1.1 -beta/mod.ts" ;
114114
115115System .createRoute (" ./webSocket.html" ).URL (" /" , " /top" );
116116System .createRoute (" /ws" ).WebSocket ();
@@ -123,7 +123,7 @@ System.listen(8080, (conf: Config)=>{
123123### How to set up Websockets events
124124To handle each Websocket event, set up a handler function by connecting a method to the created Websocket route.
125125``` typescript
126- import { System , Config , SystemRequest , WebSocketClient } from " https://github.com/PuddleServer/Puddle/raw/v1.1.0 -beta/mod.ts" ;
126+ import { System , Config , SystemRequest , WebSocketClient } from " https://github.com/PuddleServer/Puddle/raw/v1.1.1 -beta/mod.ts" ;
127127
128128System .createRoute (" ./webSocket.html" ).URL (" /" , " /top" );
129129
@@ -170,7 +170,7 @@ System.AUTH.GOOGLE(client_id, client_secret, redirect_url).URL("/Login")
170170## Easily manipulate JSON files
171171It provides functions to easily manipulate data in JSON files!
172172``` typescript
173- import { PuddleJSON } from " https://github.com/PuddleServer/Puddle/raw/v1.1.0 -beta/mod.ts" ;
173+ import { PuddleJSON } from " https://github.com/PuddleServer/Puddle/raw/v1.1.1 -beta/mod.ts" ;
174174
175175const USERS = PuddleJSON .USE (" ./users.json" , {
176176 id: [" UNIQUE" , " NOT NULL" , " AUTO INCREMENT" ],
0 commit comments