mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
18 lines
386 B
C++
18 lines
386 B
C++
#pragma once
|
|
|
|
#include <Kernel/Net/NetworkAdapter.h>
|
|
|
|
class LoopbackAdapter final : public NetworkAdapter {
|
|
AK_MAKE_ETERNAL
|
|
public:
|
|
static LoopbackAdapter& the();
|
|
|
|
virtual ~LoopbackAdapter() override;
|
|
|
|
virtual void send_raw(const byte*, int) override;
|
|
virtual const char* class_name() const override { return "LoopbackAdapter"; }
|
|
|
|
private:
|
|
LoopbackAdapter();
|
|
};
|