我正在尝试ngrok
运行options
from pyngrok import ngrok
ngrokPublicUrl = ngrok.connect(5000, bind_tls= True)
和
ngrokPublicUrl = ngrok.connect(remote_addr=5000, bind_tls= True)
对于选项,我在这里使用了文档 --> https://ngrok.com/docs#tunnel-definitions。我正在尝试获取 https 地址而不是 http。看起来options
用法不正确?
但我得到这个错误
TypeError: connect() got an unexpected keyword argument 'remote_addr'
或者
TypeError: connect() got an unexpected keyword argument 'bind_tls'