purescript-httpurple/test/example/SSL
2023-12-13 15:51:33 -06:00
..
Certificate.cer fix: migrate to new tooling 2023-12-13 15:51:33 -06:00
Key.key fix: migrate to new tooling 2023-12-13 15:51:33 -06:00
Main.purs fix: migrate to new tooling 2023-12-13 15:51:33 -06:00
Readme.md fix: migrate to new tooling 2023-12-13 15:51:33 -06:00

SSL Example

This is a basic 'hello world' example, that runs over HTTPS. It simply returns 'hello world!' when making any request.

Note that it uses self-signed certificates, so you will need to ignore certificate errors when testing.

To run the example server, run:

nix-shell --run 'example SSL'

Or, without nix:

spago -x test.dhall run --main Examples.SSL.Main