mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
chore: Add something
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Origin } from "./Origin";
|
||||
|
||||
export class TorBinding {
|
||||
constructor(readonly address: string) {}
|
||||
constructor(readonly host: string) {}
|
||||
createOrigin(protocol: string) {
|
||||
return new Origin(protocol, this.address);
|
||||
return new Origin(protocol, this.host);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user