Repository navigation
Expand file tree
/
Copy pathserver.ts
More file actions
74 lines (73 loc) · 3.2 KB
/
Copy pathserver.ts
File metadata and controls
74 lines (73 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/**
* Server-only utilities for Sentry SDKs.
*
* @module
*/
export type { ServerRuntimeClientOptions } from './server-runtime-client';
export { ServerRuntimeClient } from './server-runtime-client';
export type { TunnelRequestLike } from './utils/tunnel';
export { getServedTunnel, handleServedTunnelRequest, isServedTunnelRequest, isTunnelRequest } from './utils/tunnel';
export { httpServerHandlesTunnel, setNodeTunnelHandler } from './utils/tunnelStore';
export {
forwardTunnelRequest,
handleServedNodeTunnelRequest,
pickForwardedHeaders,
handleTunnelRequestIfMatched,
} from './utils/tunnelForward';
export { serveTunnelIntegration } from './integrations/serveTunnel';
export { resetTunnelDefaults, setTunnelDefaults } from './utils/tunnelDefaults';
export type { ServerRuntimeOptions } from './types/options';
export { trpcMiddleware } from './trpc';
export { wrapMcpServerWithSentry } from './integrations/mcp-server';
export { isNodeEnv, loadModule } from './utils/node';
export { filenameIsInApp, node, nodeStackLineParser } from './utils/node-stack-trace';
export { vercelWaitUntil } from './utils/vercelWaitUntil';
export { getReleaseMetaTag as _INTERNAL_getReleaseMetaTag } from './utils/meta';
export {
_INTERNAL_getCacheOriginMetaTags,
_INTERNAL_getRenderStart,
_INTERNAL_getRootSpanSentryTrace,
} from './utils/cacheOrigin';
export {
getReleaseFromCommitEnv as _INTERNAL_getReleaseFromCommitEnv,
readCommitEnvVar as _INTERNAL_readCommitEnvVar,
} from './utils/commitEnv';
export {
flushIfServerless,
setScopeFlushedByRuntime as _INTERNAL_setScopeFlushedByRuntime,
} from './utils/flushIfServerless';
export { callFrameToStackFrame, watchdogTimer } from './utils/anr';
export { safeUnref as _INTERNAL_safeUnref } from './utils/timer';
export { patchHttpModuleClient } from './integrations/http/client-patch';
export { getHttpClientSubscriptions } from './integrations/http/client-subscriptions';
export { getHttpServerSubscriptions, isStaticAssetRequest } from './integrations/http/server-subscription';
export {
DEFAULT_IGNORE_STATUS_CODES,
processHttpServerTransactionEvent,
} from './integrations/http/server-transaction-event';
export { recordRequestSession, startRequestSession } from './integrations/http/record-request-session';
export { getClientIPAddress } from './utils/clientIPAddress';
export { addOutgoingRequestBreadcrumb } from './integrations/http/add-outgoing-request-breadcrumb';
export {
getRequestUrl,
getRequestUrlObject,
getRequestUrlFromClientRequest,
getRequestOptions,
} from './integrations/http/get-request-url';
export { HTTP_ON_CLIENT_REQUEST, HTTP_ON_SERVER_REQUEST, HTTP2_ON_SERVER_STREAM } from './integrations/http/constants';
export type {
HttpInstrumentationOptions,
HttpClientRequest,
HttpIncomingMessage,
HttpServerResponse,
HttpModuleExport,
} from './integrations/http/types';
export type {
AssertTrue,
CheckServerRequestOptions,
ServerRequestOptions,
} from './integrations/http/server-request-options';
export { createFetchIntegration } from './integrations/fetch';
export type { FetchIntegrationOptions } from './integrations/fetch';
export { classifyResponseStreaming } from './utils/responseStreaming';
export type { StreamingGuess } from './utils/responseStreaming';