UNPKG
@putdotio/api-client
Version:
alpha (7.0.0-alpha7)
latest (8.49.0)
8.49.0
8.48.0
8.47.0
8.46.0
8.45.0
8.44.0
8.43.0
8.42.0
8.41.0
8.40.0
8.39.0
8.38.0
8.37.0
8.36.1
8.36.0
8.35.1
8.35.0
8.34.4
8.34.3
8.34.2
8.34.0
8.33.1
8.33.0
8.32.0
8.31.2
8.31.1
8.31.0
8.30.0
8.29.0
8.28.0
8.27.3
8.27.2
8.27.1
8.27.0
8.26.1
8.26.0
8.25.0
8.24.0
8.23.2
8.23.1
8.23.0
8.22.0
8.21.0
8.20.0
8.19.0
8.18.0
8.17.0
8.16.0
8.15.3
8.15.2
8.15.1
8.15.0
8.14.0
8.13.3
8.13.2
8.13.1
8.13.0
8.12.0
8.11.0
8.10.0
8.9.0
8.8.0
8.7.0
8.6.1
8.6.0
8.5.2
8.5.1
8.5.0
8.4.1
8.4.0
8.3.0
8.2.0
8.1.0
8.0.0
7.10.1
7.10.0
7.9.0
7.8.2
7.8.1
7.8.0
7.7.0
7.6.2
7.6.1
7.6.0
7.5.0
7.4.1
7.3.1
7.3.0
7.2.0
7.1.2
7.1.1
7.1.0
7.0.2
7.0.1
7.0.0
7.0.0-beta
7.0.0-alpha7
7.0.0-alpha6
7.0.0-alpha5
7.0.0-alpha4
7.0.0-alpha3
7.0.0-alpha2
7.0.0-alpha1
6.6.0
6.5.1
5.1.0
4.3.1
4.3.0
4.2.0
4.0.0
3.11.0
3.3.0
3.2.0
2.24.0
2.19.0
2.16.0
2.15.0
2.13.0
2.12.0
2.11.0
2.10.0
2.9.0
2.8.0
JavaScript SDK for interacting with the put.io API.
github.com/putdotio/putio-js
putdotio/putio-js
@putdotio/api-client
/
src
/
resources
/
Tunnel.ts
14 lines
(10 loc)
•
249 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{ PutioAPIClient } from
'../client'
export default
class
Tunnel
{
private
client: PutioAPIClient
constructor
(client: PutioAPIClient) {
this
.client = client }
public
Routes() {
return
this
.client.
get
(
'/tunnel/routes'
) } }