X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FWebLibrary.java;h=7566877cebd48343b47c1764ed31045ee8de78dd;hp=42f7ea5ccadd4eb40d6b86cfd1f6842abab0db50;hb=09c2396e97b904d710d628684102e83b5f0909a5;hpb=33c6a3f700ed10ce63a5601237c9072f25b825ef diff --git a/src/be/nikiroo/fanfix/library/WebLibrary.java b/src/be/nikiroo/fanfix/library/WebLibrary.java index 42f7ea5..7566877 100644 --- a/src/be/nikiroo/fanfix/library/WebLibrary.java +++ b/src/be/nikiroo/fanfix/library/WebLibrary.java @@ -126,6 +126,16 @@ public class WebLibrary extends BasicLibrary { return new Version(); } + /** + * Stop the server. + * + * @throws IOException + * in case of I/O errors + */ + public void stop() throws IOException { + post(WebLibraryUrls.EXIT_URL, null).close(); + } + @Override public Status getStatus() { try {