Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to the new http_server package for server related development #107

Merged
merged 1 commit into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading