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

Update README.md #704

Closed
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
18 changes: 17 additions & 1 deletion Examples/hello-world-urlsession-client-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,23 @@ The server can be started by running any of the Hello World server examples loca

## Usage

Build and run the client CLI using:
Start one of the Hello World servers in a different terminal:

```console
% cd Examples/hello-world-hummingbird-server-example
% swift run
2024-12-17T09:54:40-0600 info HummingBird : [HummingbirdCore] Server started and listening on 127.0.0.1:8080
```

or

```console
% cd Examples/hello-world-vapor-server-example
% swift run
2024-12-17T10:34:55-0600 notice codes.vapor.application : [Vapor] Server started on http://127.0.0.1:8080
```

Then, build and run the client CLI using:

```console
% swift run
Expand Down