MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / toString

Method toString

javascript/selenium-webdriver/lib/http.js:101–108  ·  view source on GitHub ↗

@override

()

Source from the content-addressed store, hash-verified

99
100 /** @override */
101 toString() {
102 let ret = `${this.method} ${this.path} HTTP/1.1\n`
103 ret += headersToString(this.headers) + '\n\n'
104 if (this.data) {
105 ret += JSON.stringify(this.data)
106 }
107 return ret
108 }
109}
110
111/**

Callers

nothing calls this directly

Calls 1

headersToStringFunction · 0.70

Tested by

no test coverage detected