@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
153 lines (72 loc) • 2.17 kB
Markdown
---
lang: en
title: 'API docs: context.proxysource'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.proxysource.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [ProxySource](./context.proxysource.md)
## ProxySource class
Invocation source for injected proxies. It wraps a snapshot of the `ResolutionSession` that tracks the binding/injection stack.
**Signature:**
```typescript
export declare class ProxySource implements InvocationSource<ResolutionSession>
```
**Implements:** [InvocationSource](./context.invocationsource.md)<!-- --><[ResolutionSession](./context.resolutionsession.md)<!-- -->>
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[(constructor)(value)](./context.proxysource._constructor_.md)
</td><td markdown="1">
</td><td markdown="1">
Constructs a new instance of the `ProxySource` class
</td></tr>
</tbody></table>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[type](./context.proxysource.type.md)
</td><td markdown="1">
</td><td markdown="1">
string
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
[value](./context.proxysource.value.md)
</td><td markdown="1">
`readonly`
</td><td markdown="1">
[ResolutionSession](./context.resolutionsession.md)
</td><td markdown="1">
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[toString()](./context.proxysource.tostring.md)
</td><td markdown="1">
</td><td markdown="1">
</td></tr>
</tbody></table>