Skip to content

Commit 11e191c

Browse files
committed
Drop 'hostname' from the Request types too
1 parent 97d002b commit 11e191c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/types.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,6 @@ export interface Request {
6767
remoteIpAddress?: string; // Not set remotely with older servers or in some error cases
6868
remotePort?: number; // Not set remotely with older servers or in some error cases
6969

70-
/**
71-
* This field was ambiguous and is no longer used - included only for backwards
72-
* compatibility.
73-
*
74-
* You probably want to either look at the `url` field (the full URL content including
75-
* the hostname of the target server) or `destination` (best guess of actual target host
76-
* including bare IPs, independent of the hostname used).
77-
*
78-
* @deprecated
79-
*/
80-
hostname?: '' | undefined;
81-
8270
/**
8371
* The best guess at the target host + port of the request. This uses tunnelling metadata
8472
* wherever possible, or the headers if not.

0 commit comments

Comments
 (0)