Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
/ CWebSocket Public archive

CWebSocket is a small Class that can make HTTP requests, without third party libaries.

Notifications You must be signed in to change notification settings

Eun/CWebSocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This project has the aim to helps your project making http(s) calls, without any "big" libary.

CWebsocket is a small lightweight solution for unix and windows systems.

If you need anything or have questions please let me know!

How to use?

Include it into your CPP project

see example.php

Link with -lssl -lcrypto

Preprocessors

  • OPENSSL - build with https support
  • NO_COOKIES - do not include cookie management
  • COOKIE_SIMPLE - Simple Cookie Management

Changelog

VERSION 1.7:

  • added openssl, nocookies preprocessor
  • if openssl is disabled fallback to http
  • fixed mem leak

VERSION 1.6:

  • added https support via openssl
  • removed opt.HEADERS

Version 1.5:

  • changed COKIEFILE to COOKIEFILE
  • added cleanup method
  • changed internal constans
  • added cleanup for cookiemanager
  • added bind to interface

Version 1.4:

  • changed from malloc to new

Version 1.3:

  • fixed output overflow

Version 1.2:

  • Added outputfile option
  • using byte copys now

Version 1.1:

  • Added Content-Length Header

TODO

  • windows openssl support
  • cookiefile support
  • http 1.1 + unchunk
  • auth
  • HEADER output

About

CWebSocket is a small Class that can make HTTP requests, without third party libaries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published