Skip to content

Commit

Permalink
Merge pull request #81 from timgerstel/rest/server
Browse files Browse the repository at this point in the history
Server REST API
  • Loading branch information
1000TurquoisePogs authored Sep 30, 2019
2 parents 39f113a + ccff1fe commit f0c3932
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion c/httpserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3631,7 +3631,6 @@ static void respondWithUnixFileInternal(HttpResponse* response, char* absolutePa
static void respondWithUnixDirectoryInternal(HttpResponse* response, char* absolutePath, int jsonMode, int secureFlag);

static void respondWithUnixFile(HttpResponse* response, char* absolutePath, int jsonMode, bool asB64);
static void respondWithUnixFile2(HttpService* service, HttpResponse* response, char* absolutePath, int jsonMode, int autocvt, bool asB64);
void respondWithUnixDirectory(HttpResponse *response, char* absolutePath, int jsonMode);
void respondWithUnixFileSafer(HttpResponse* response, char* absolutePath, int jsonMode);
void respondWithUnixDirectorySafer(HttpResponse* response, char* absolutePath, int jsonMode);
Expand Down
1 change: 1 addition & 0 deletions h/httpserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ HttpService *makeWebSocketService(char *name, char *urlMask, WSEndpoint *endpoin
jsonPrinter *initWSJsonPrinting(WSSession *session, int maxFrameSize);
void flushWSJsonPrinting(WSSession *session);

void respondWithUnixFile2(HttpService* service, HttpResponse* response, char* absolutePath, int jsonMode, int autocvt, bool asB64);
void respondWithUnixFileContents(HttpResponse* response, char *absolutePath, int jsonMode);
void respondWithUnixFileContents2(HttpService* service, HttpResponse* response, char *absolutePath, int jsonMode);
void respondWithUnixFileContentsWithAutocvtMode(HttpService* service, HttpResponse* response, char *absolutePath, int jsonMode, int convert);
Expand Down

0 comments on commit f0c3932

Please sign in to comment.