Reputation: 22187
I have created a project using
snap init barebones
Is there a way to turn logging on/off and examine or set any server parameters?
Upvotes: 0
Views: 92
Reputation: 3260
I think you're looking for the module Snap.Http.Server.Config. You can create a specialized Config
using the functions from there, then pass them into a call to simpleHttpServe
from Snap.Http.Server to start a server with your custom options.
Upvotes: 2