toro v0.4.1 Release Notes

Release Date: 2018-07-02 // almost 3 years ago

Previous changes from v0.4.0

  • If App is an instance of Toro, then you can start the server
    by calling You can pass any options you would use with
    the HTTP::Server constructor from the standard library.

    For example, you can start the server on port 80:

    🔧 Or you can further configure server by using a block. The following
    🔧 example shows how to configure SSL certificates: do |server| ssl = ssl.private\_key = "path/to/private\_key" ssl.certificate\_chain = "path/to/certificate\_chain" server.tls = sslend

    📚 Refer to Crystal's documentation for more options.