summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/URLEncoder.h
blob: 5b6a2268a88a25ad7e3d0eeed4b7960df0130572 (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>&);

}