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