mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
9 lines
187 B
TypeScript
9 lines
187 B
TypeScript
import { Origin } from "./Origin";
|
|
|
|
export class TorBinding {
|
|
constructor(readonly host: string) {}
|
|
createOrigin(protocol: string) {
|
|
return new Origin(protocol, this.host);
|
|
}
|
|
}
|