summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/URLEncoder.h
blob: 5bd004f560a88b5dcc62a684995fd7b392a19cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2020, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/String.h>
#include <AK/Vector.h>

namespace Web {

struct URLQueryParam {
    String name;
    String value;
};

String urlencode(const Vector<URLQueryParam>&, URL::PercentEncodeSet);

}