purescript-httpurple/docs/Examples/SSL
Petri Lehtinen 8badd62b3e PureScript 0.12 support (#89)
- Upgrade all dependencies
- Use Effect instead of Eff
- Use Foreign.Object instead of StrMap
- Use Effect.Ref instead of Control.Monad.ST
- Drop SecureServerM, it's the same as ServerM now
2018-07-08 16:16:48 -07:00
..
Certificate.cer Add SSL support (#55) 2017-08-01 22:08:27 -07:00
Key.key Add SSL support (#55) 2017-08-01 22:08:27 -07:00
Main.purs PureScript 0.12 support (#89) 2018-07-08 16:16:48 -07:00
Readme.md Add SSL support (#55) 2017-08-01 22:08:27 -07: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:

make example EXAMPLE=SSL