Skip to content

Commit

Permalink
Link to the new http_server package for server related development (#107
Browse files Browse the repository at this point in the history
)

Functionality for implementing a server is provided in the new package
but the documentation still referred to the HTTPServer class inside this
package.
  • Loading branch information
sacovo authored Jan 21, 2024
1 parent 6775d62 commit ced5444
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions http/http.pony
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
This package includes all the support functions necessary to build client
and server applications for the HTTP protocol.
applications for the HTTP protocol.
The important interfaces an application needs to deal with are:
Expand All @@ -18,7 +18,8 @@ message, with its headers.
If you are writing a client, you will need to deal with the
[HTTPClient](/http/http-HTTPClient/) class.
If you are writing a server, you will need to deal with the
[HTTPServer](/http/http-HTTPServer/) class.
If you are writing a server, you should look at the
[Server](https://ponylang.github.io/http_server/http_server-Server/)
class in the [http_server](https://ponylang.github.io/http_server) package.
"""
4 changes: 2 additions & 2 deletions http/payload.pony
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ class trn Payload
var username: String = ""
"""
The username extracted from an `Authentication` header of an HTTP request
received via [HTTPServer](http-HTTPServer).
received via [HTTPServer](https://ponylang.github.io/http_server/http_server-Server/).
This is not used and not sent using [HTTPClient](http-HTTPClient),
use `update` to set an `Authentication` header instead.
"""
var password: String = ""
"""
The password extracted from an `Authentication` header of an HTTP request
received via [HTTPServer](http-HTTPServer).
received via [HTTPServer](https://ponylang.github.io/http_server/http_server-Server/).
This is not used and not sent using [HTTPClient](http-HTTPClient),
use `update` to set an `Authentication` header instead.
Expand Down

0 comments on commit ced5444

Please sign in to comment.