summaryrefslogtreecommitdiffstats
path: root/src/libsoup-test.c
blob: 140d604d456b066ae0d6a6a8095090c38e289a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
}