Request is an HTTP library.
You can specify the port in the URL http://example.com:4028/….
But, from what I can read in a hurry here cgminer
provides a RPC API (or JSON RPC?) not an HTTP interface.
Request is an HTTP library.
You can specify the port in the URL http://example.com:4028/….
But, from what I can read in a hurry here cgminer
provides a RPC API (or JSON RPC?) not an HTTP interface.