mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-09-04 06:22:46 +08:00
Updated SteamCommunity (markdown)
@@ -21,6 +21,13 @@ Contains our SteamID (as a `SteamID` object) if we're logged in.
|
||||
|
||||
# Methods
|
||||
|
||||
### Constructor([localAddress])
|
||||
- `localAddress` - Optional. The IP address (in `x.x.x.x` format) that will be used for HTTP requests.
|
||||
|
||||
**v3.5.0 or later is required to use the `localAddress` argument.**
|
||||
|
||||
Constructs a new instance of SteamCommunity.
|
||||
|
||||
### login(details, callback)
|
||||
- `details` - An object containing our login details (see below)
|
||||
- `callback` - A function which will be called once we're logged in
|
||||
|
||||
Reference in New Issue
Block a user