summaryrefslogtreecommitdiff
path: root/AK/URLParser.h
blob: 741b04d9e70c91c3512e696053f8d9f99d5b48c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/StringView.h>

namespace AK {

String urlencode(const StringView&, const StringView& exclude = {});
String urldecode(const StringView&);

}

using AK::urldecode;
using AK::urlencode;