You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/libsoup-test.c

17 lines
373 B

/*
* This file is part of MXE. See LICENSE.md for licensing 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;
}