On Wed, 27 Jul 2016, Jan Henning Thorsen wrote: > The list of events are right there in the > documentation: https://metacpan.org/pod/Mojo::IOLoop::Server#EVENTS
So, that gives 'accept' (directly) and 'error' (from Mojo::EventEmitter). > > On Wednesday, July 13, 2016 at 2:11:44 AM UTC+2, Brian Shaw wrote: > > > > Thanks. That worked well. Do you know if there is a complete list of > > events? > > > > Brian > > > > > > On Sunday, July 10, 2016 at 5:46:06 PM UTC-4, Alex Alex wrote: > >> > >> You could use Mojo::IOLoop::Server; accept event. > >> https://metacpan.org/pod/Mojo::IOLoop::Server > >> > >> > >> > >> Is there a way to tell when a client has completed the initial > >> connection to the server, as opposed to any other time in the life of the > >> connection? > >> With HTTP(S) you just sit and wait until the client says something like > >> "GET /". > >> I'm trying to write a mail server and the SMTP protocol specifies that > >> the server, not the client, starts the conversation once the client > >> connects. > >> If there is some way outside of IOLoop to do this, I'm okay with > >> changing directions. > >> Thanks for any suggestions or code snippets. > >> > >> Brian > >> -- > >> 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 https://groups.google.com/group/mojolicious. > >> For more options, visit https://groups.google.com/d/optout. > >> > >> > >> > >
