Both.
It ships with sane defaults so you can type "http-server", but it also may optionally be configured with things like a path, a port, a host, etc.
It ships with sane defaults so you can type "http-server", but it also may optionally be configured with things like a path, a port, a host, etc.