mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
* fix(runtime): followup for `server.requestIP` * oops * yeah * sure * Update src/deps/libuwsockets.cpp * Update Dockerfile * lol --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
17 lines
428 B
C++
17 lines
428 B
C++
// The object returned by Bun.serve's .requestIP()
|
|
#pragma once
|
|
#include "root.h"
|
|
#include "JavaScriptCore/JSObjectInlines.h"
|
|
|
|
using namespace JSC;
|
|
|
|
namespace Bun {
|
|
namespace JSSocketAddress {
|
|
|
|
Structure* createStructure(VM& vm, JSGlobalObject* globalObject);
|
|
|
|
} // namespace JSSocketAddress
|
|
} // namespace Bun
|
|
|
|
extern "C" JSObject* JSSocketAddress__create(JSGlobalObject* globalObject, JSString* value, int port, bool isIPv6);
|