There isn't a function for that. You can shut it down either by killing the process or by building in your program a "shutdown" message that when it receives this http request then exits the julia program by calling quit()
When I wrote a HttpServer based service I also thought this was a missing feature of HttpServer. On Tuesday, November 24, 2015 at 11:42:49 AM UTC+1, Eric Forgy wrote: > > Hi, > > I remember reading a question similar to (or exactly like) this one, but > can't find it again. > > I can start an HttpServer easily enough, but how to close it? I can see > that WebSockets has a "close" method, but I can't find a way to close an > HttpServer. I am probably confused and this question makes no sense :) > > Thanks >
