Mercurial
comparison seobeo/seobeo.h @ 36:84672efec192
[Zenbu] WIP fixing issues regarding to using edge only. I think there is a problem where socket closes before sending back the info.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 09 Nov 2025 06:25:16 -0800 |
| parents | 875bb6e10db7 |
| children | a30944e5719e |
comparison
equal
deleted
inserted
replaced
| 35:33b1caf051cd | 36:84672efec192 |
|---|---|
| 38 #define HTTP_UNAUTHORIZED 401 | 38 #define HTTP_UNAUTHORIZED 401 |
| 39 #define HTTP_FORBIDDEN 403 | 39 #define HTTP_FORBIDDEN 403 |
| 40 #define HTTP_NOT_FOUND 404 | 40 #define HTTP_NOT_FOUND 404 |
| 41 #define HTTP_INTERNAL_ERROR 500 | 41 #define HTTP_INTERNAL_ERROR 500 |
| 42 | 42 |
| 43 extern volatile sig_atomic_t stop_server; | |
| 44 | |
| 43 // --- TCP --- // | 45 // --- TCP --- // |
| 44 // --- Generate a Server Handle. ---// | 46 // --- Generate a Server Handle. ---// |
| 45 extern Seobeo_PHandle Seobeo_Stream_Handle_Server_Create(const char *host, const char* port); | 47 extern Seobeo_PHandle Seobeo_Stream_Handle_Server_Create(const char *host, const char* port); |
| 46 // --- Generate a Client Handle. ---// | 48 // --- Generate a Client Handle. ---// |
| 47 extern Seobeo_PHandle Seobeo_Stream_Handle_Client_Create(const char *host, const char* port, boolean use_tls); | 49 extern Seobeo_PHandle Seobeo_Stream_Handle_Client_Create(const char *host, const char* port, boolean use_tls); |