Class SseStreamingBuilder
- Namespace
- TypedRest.CodeGeneration.TypeScript.Endpoints.Reactive
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
Builds TypeScript code for SseStreamingEndpoints, degrading them to plain endpoints.
public class SseStreamingBuilder : BuilderBase<SseStreamingEndpoint>, IBuilder<SseStreamingEndpoint>, IBuilder
- Inheritance
-
objectSseStreamingBuilder
- Implements
- Inherited Members
Methods
GetBase(string, SseStreamingEndpoint, IEndpointGenerator)
Returns the TypedRest type the endpoint derives from, any additional types generated along the way, and any constructor arguments beyond the referrer and the relative URI.
protected override (TsIdentifier baseType, IEnumerable<ITsType> types, IEnumerable<TsExpression> extraArguments) GetBase(string key, SseStreamingEndpoint endpoint, IEndpointGenerator generator)
Parameters
keystringendpointSseStreamingEndpointgeneratorIEndpointGenerator
Returns
GetBaseType(SseStreamingEndpoint, IEndpointGenerator)
Returns the TypedRest type the endpoint derives from.
protected override TsIdentifier GetBaseType(SseStreamingEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointSseStreamingEndpointgeneratorIEndpointGenerator