>
> ...the case of the application running a server explicitly differently 
> from when one is run implicitly...
>

That's not as simple as you might think, the get command for example starts 
a real server for relative URLs.
 

> Am I right in that there's no way to determine from within startup() what 
> type (i.e., class) of server will run it?
>

You can't even know how many servers are sending requests to an app, yes, 
there may be more than one. 
 

> Of course I could resort to, e.g., intercepting @ARGV in the start script 
> and pass anything I've learned from that on to the application some way or 
> other, but I wouldn't file that solution under “clean”.
>

That certaily does not work, or your definition of "running a server 
explicitly" would have to be really messed up not to include 
"Mojo::Server::Daemon->new(app => $app)->run".

--
sebastian

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to