mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-04-21 08:25:54 +03:00
26 lines
481 B
C++
26 lines
481 B
C++
// Library to simplify HTTP fetching on Arduino
|
|
// (c) Copyright Arduino. 2019
|
|
// Released under Apache License, version 2.0
|
|
|
|
#ifndef URL_ENCODER_H
|
|
#define URL_ENCODER_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
class URLEncoderClass
|
|
{
|
|
public:
|
|
URLEncoderClass();
|
|
virtual ~URLEncoderClass();
|
|
|
|
static String encode(const char* str);
|
|
static String encode(const String& str);
|
|
|
|
private:
|
|
static String encode(const char* str, int length);
|
|
};
|
|
|
|
extern URLEncoderClass URLEncoder;
|
|
|
|
#endif
|