Re-added support for https (#33)
This commit is contained in:
6
fiche.h
6
fiche.h
@@ -24,6 +24,7 @@ $ cat fiche.c | nc localhost 9999
|
||||
#define FICHE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
/**
|
||||
@@ -52,6 +53,11 @@ typedef struct Fiche_Settings {
|
||||
*/
|
||||
uint8_t slug_len;
|
||||
|
||||
/**
|
||||
* @brief If set, returns url with https prefix instead of http
|
||||
*/
|
||||
bool https;
|
||||
|
||||
/**
|
||||
* @brief Connection buffer length
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user