"use strict";(globalThis.webpackChunk_elliemae_pui_diagnostics=globalThis.webpackChunk_elliemae_pui_diagnostics||[]).push([[1667],{116:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>o});var s=n(758);const i={},r=s.createContext(i);function a(e){const t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(r.Provider,{value:t},e.children)}},9073:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"api/functions/http","title":"http()","description":"get http transport handler","source":"@site/docs/api/functions/http.md","sourceDirName":"api/functions","slug":"/api/functions/http","permalink":"/diagnostics/api/functions/http","draft":false,"unlisted":false,"editUrl":"https://git.elliemae.io/platform-ui/pui-diagnostics.git/docs/api/functions/http.md","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Console()","permalink":"/diagnostics/api/functions/Console"},"next":{"title":"logUnhandledErrors()","permalink":"/diagnostics/api/functions/logUnhandledErrors"}}');var i=n(6070),r=n(116);const a={},o="http()",l={},c=[{value:"Parameters",id:"parameters",level:2},{value:"url",id:"url",level:3},{value:"Returns",id:"returns",level:2}];function d(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"http",children:"http()"})}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-ts",children:"function http(url: string): Transport;\n"})}),"\n",(0,i.jsx)(t.p,{children:"get http transport handler"}),"\n",(0,i.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsx)(t.h3,{id:"url",children:"url"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.code,{children:"string"})}),"\n",(0,i.jsxs)(t.p,{children:["diagnostics endpoint url. e.g. ",(0,i.jsx)(t.a,{href:"https://api.ellielabs.com/diagnostics/v2/logging",children:"https://api.ellielabs.com/diagnostics/v2/logging"})]}),"\n",(0,i.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.a,{href:"/diagnostics/api/type-aliases/Transport",children:(0,i.jsx)(t.code,{children:"Transport"})})}),"\n",(0,i.jsx)(t.p,{children:"http transport handler"})]})}function p(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]);