diff options
Diffstat (limited to 'src/libsoup-test.c')
-rw-r--r-- | src/libsoup-test.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libsoup-test.c b/src/libsoup-test.c new file mode 100644 index 0000000..140d604 --- /dev/null +++ b/src/libsoup-test.c @@ -0,0 +1,17 @@ +/* + * This file is part of MXE. + * See index.html for further information. + */ + +#include <libsoup/soup.h> + +int main() +{ + SoupServer *server; + GError *error; + + server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "simple-httpd ", SOUP_SERVER_TLS_CERTIFICATE, NULL, NULL); + soup_server_listen_all (server, 1234, SOUP_SERVER_LISTEN_HTTPS, &error); + + return 0; +} |