File tree 3 files changed +11
-11
lines changed
nodejs-tutorial-how-to-work-with-websockets
nodejs-tutorial-whatwg-url-parser
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en-us ">
3
3
4
4
< head >
5
- < meta name ="generator " content ="Hugo 0.26 " />
5
+ < meta name ="generator " content ="Hugo 0.27.1 " />
6
6
< meta http-equiv ="content-type " content ="text/html; charset=utf-8 ">
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0, maximum-scale=1 ">
8
8
< title > The Node Beginner Blog - The Node Beginner Blog</ title >
Original file line number Diff line number Diff line change 24
24
< meta property ="og:image:secure_url " content ='https://www.nodebeginner.org/blog/images/nodejs-tutorial-super-fast-web-applications-with-the-websocket-protocol.png '>
25
25
< meta property ="og:image:width " content ="1200 ">
26
26
< meta property ="og:image:height " content ="630 ">
27
- < meta property ="og:description " content ='Your regularly updated tutorial resource for all things Node.js. '>
27
+ < meta property ="og:description " content ='How to use WebSocket connections for bidirectional and real-time Node.js apps . '>
28
28
29
29
30
30
< link rel ="stylesheet " href ="https://www.nodebeginner.org/blog/css/slim.css ">
Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ <h2 class="post-title"><a href="https://www.nodebeginner.org/blog/post/nodejs-tu
76
76
77
77
< p > Here is an overview of all the different parts of an URL and how the according < code > URL</ code > object attribute is named:</ p >
78
78
79
- < pre > < code > " https: // user : pass @ sub.host.com : 8080 /p/a/t/h ? query=string #hash "
80
- │ │ │ │ │ hostname │ port │ │ │ │
81
- │ │ │ │ ├──────────────┴── ────┤ │ │ │
82
- │ protocol │ │ username │ password │ host │ │ │ │
83
- ├──────────┴──┼────────── ┴──────────┼── ───────────────────┤ │ │ │
84
- │ origin │ │ origin │ pathname │ search │ hash │
85
- ├─────────────┴─────────────────────┴── ───────────────────┴──────────┴────────────────┴───────┤
86
- │ href │
87
- └───────────────────────────────────────────────────────────────────────────────────────────── ┘
79
+ < pre > < code > " https: // user : pass @ sub.host.com : 80 /p/a/t/h ? query=string #hash "
80
+ │ │ │ │ │ hostname │port│ │ │ │
81
+ │ │ │ user-│ pass- ├──────────────┴────┤ │ │ │
82
+ │ protocol │ │ name │ word │ host │ │ │ │
83
+ ├──────────┴──┼──────┴──────┼ ───────────────────┤ │ │ │
84
+ │ origin │ │ origin │ pathname │ search │ hash │
85
+ ├─────────────┴─────────────┴ ───────────────────┴──────────┴────────────────┴───────┤
86
+ │ href │
87
+ └───────────────────────────────────────────────────────────────────────────────────┘
88
88
</ code > </ pre >
89
89
90
90
< p > The < code > URL</ code > object representation of a URL can also be used to change those parts:</ p >
You can’t perform that action at this time.
0 commit comments