mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
WebContent: Add ConnectionFromClient::fd() accessor
This commit is contained in:
parent
eb709ddd63
commit
e75645bbf8
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ public:
|
||||||
|
|
||||||
void request_file(NonnullRefPtr<Web::FileRequest>&);
|
void request_file(NonnullRefPtr<Web::FileRequest>&);
|
||||||
|
|
||||||
|
Optional<int> fd() { return socket().fd(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
explicit ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket>);
|
explicit ConnectionFromClient(NonnullOwnPtr<Core::Stream::LocalSocket>);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue