All Projects β†’ Polarhigh β†’ AmxxCurl

Polarhigh / AmxxCurl

Licence: MIT license
Curl module for amxmodx

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
SourcePawn
201 projects
Pawn
127 projects
lua
6591 projects

Projects that are alternatives of or similar to AmxxCurl

cs-halloween-mod
πŸŽƒ Halloween Mod for Counter-Strike 1.6
Stars: ✭ 22 (-21.43%)
Mutual labels:  amxmodx
api-test
🌿 A simple bash script to test JSON API from terminal in a structured and organized way.
Stars: ✭ 53 (+89.29%)
Mutual labels:  curl
WebTechnologies
CRAN Task View: WebTechnologies
Stars: ✭ 163 (+482.14%)
Mutual labels:  curl
ambient
What can a public hotspot tell you?
Stars: ✭ 57 (+103.57%)
Mutual labels:  curl
get header
This function is similar to the get_headers function
Stars: ✭ 35 (+25%)
Mutual labels:  curl
onymous-plurk
Anonymous Plurk Cross-matching Tool - Plurk偷偷θͺͺ亀叉比對ε·₯ε…·
Stars: ✭ 20 (-28.57%)
Mutual labels:  curl
homebrew-portable-ruby
πŸš— Versions of Ruby that can be installed and run from anywhere on the filesystem.
Stars: ✭ 96 (+242.86%)
Mutual labels:  curl
BusinessCard
πŸ’³ My curl-able business card
Stars: ✭ 49 (+75%)
Mutual labels:  curl
antk
Redkato, - Indonesian anime scraper
Stars: ✭ 14 (-50%)
Mutual labels:  curl
request
http requests DSL for R
Stars: ✭ 36 (+28.57%)
Mutual labels:  curl
curl
A PHP 5.4+ library for making asynchronous HTTP requests.
Stars: ✭ 73 (+160.71%)
Mutual labels:  curl
igdb
IGDB PHP API Wrapper
Stars: ✭ 20 (-28.57%)
Mutual labels:  curl
cs-16-server
Counter-Strike 1.6 Server using Docker
Stars: ✭ 26 (-7.14%)
Mutual labels:  amxmodx
CwsShareCount
PHP class to get social share count for Delicious, Facebook, Google+, Linkedin, Pinterest, Reddit, StumbleUpon and Twitter.
Stars: ✭ 13 (-53.57%)
Mutual labels:  curl
flutter curl
Flutter plugin to use libcurl for HTTP calls
Stars: ✭ 42 (+50%)
Mutual labels:  curl
domcurl
cUrl-like utility for fetching a resource (in this case we will run JS and return after network is idle) - great for JS heavy apps
Stars: ✭ 84 (+200%)
Mutual labels:  curl
curl4cpp
Single header cURL wrapper for C++ around libcURL
Stars: ✭ 14 (-50%)
Mutual labels:  curl
curl-fuzzer
Quality assurance testing for the curl project
Stars: ✭ 40 (+42.86%)
Mutual labels:  curl
grpc-curl
grpc-curl is a command line tool for interacting with gRPC servers
Stars: ✭ 59 (+110.71%)
Mutual labels:  curl
terraform-external-module-artifact
Terraform module to fetch any kind of artifacts using curl (binary and text okay)
Stars: ✭ 13 (-53.57%)
Mutual labels:  curl

Description

AmxxCurl module is a wrapper over libcurl (with ssl support) easy interface for amxmodx. Module performs curl's in non-blocking mode.

Download latest version here.

Roadmap

  1. βœ”οΈ Improving performance: using asio, curl multi interface and c-areas.
  2. βœ”οΈ Adding simple interfaces for most common cases. (it was decided to make a separate module with a simple api, see AmxxEasyHttp)

Compilation

You must have installed the latest version premake5. (Get it here)

Windows

Generate Visual Studio project:

premake5 vs2017

You may try generate project for another Visual Studio version.

Open solution and compile it)

Linux

Generate Makefile:

premake5 gmake

And compile it:

cd build/gmake
make

Natives

All natives functions you can find in curl.inc, they have the same behaviour that C functions.

Except for some:

native void:curl_easy_perform(const CURL:handle, const callbackComplite[], const data[] = {}, const data_len = 0)

The function starts curl perform, and upon completion of the transfer will be call callback callbackComplite. In third parameter you can specify an array of user data, wich will be transferred to callbackComplite, and fourth parameter is array length.

If user data set, callback should have the signature:

public compliteCallback(CURL:curl, CURLcode:code, data[])

else:

public compliteCallback(CURL:curl, CURLcode:code)
native CURLcode:curl_easy_getinfo(const CURL:handle, const CURLINFO:info, any:...)

For string type of CURLINFO option, you must set fourth argument - string size:

new url[64]
curl_easy_getinfo(curl,CURLINFO_EFFECTIVE_URL, url, charsmax(url))

Other

If this description contains a strange phrases, please do a fix commit)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].