function toWSString(url) {
  return "ws" + url.slice(4);
}
function appendPath(url, toAppend) {
  return url + (url.endsWith("/") ? toAppend.substring(1) : toAppend);
}
export {
  appendPath,
  toWSString
};
//# sourceMappingURL=http-string.js.map
