Construct JiSu HTTP instance Returns:
()
| 97 | |
| 98 | |
| 99 | def new_jisu_http_proxy() -> JiSuHttpProxy: |
| 100 | """ |
| 101 | Construct JiSu HTTP instance |
| 102 | Returns: |
| 103 | |
| 104 | """ |
| 105 | return JiSuHttpProxy( |
| 106 | key=os.getenv("jisu_key", ""), # Get JiSu HTTP IP extraction key value through environment variable |
| 107 | crypto=os.getenv("jisu_crypto", ""), # Get JiSu HTTP IP extraction encryption signature through environment variable |
| 108 | time_validity_period=30 # 30 minutes (maximum validity) |
| 109 | ) |
nothing calls this directly
no test coverage detected