Example #1
0
 /// <summary>Uses the API request body binding.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestBodyBinding(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestBodyBindingPipelineComponent>());
 }
Example #2
0
 /// <summary>Uses the API request accept.</summary>
 /// <param name="pipline">The pipline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestAccept(this IApiRequestPipeline pipline)
 {
     return(pipline.UsePipelineComponent <ApiRequestAcceptPipelineComponent>());
 }
Example #3
0
 /// <summary>Uses the API response HTTP caching.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiResponseHttpCaching(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiResponseHttpCachingPipelineComponent>());
 }
Example #4
0
 /// <summary>Uses the API request canceled.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestCanceled(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestCanceledPipelineComponent>());
 }
Example #5
0
 /// <summary>Uses the API request endpoint invocation.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestEndpointInvocation(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestEndpointInvocationPipelineComponent>());
 }
Example #6
0
 /// <summary>Uses the API response unhandled exception handler.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiResponseUnhandledExceptionHandler(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiResponseUnhandledExceptionPipelineComponent>());
 }
Example #7
0
 /// <summary>Uses the API response messages.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiResponseMessages(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiResponseMessagePipelineComponent>());
 }
Example #8
0
 /// <summary>Uses the API response body writer.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiResponseBodyWriter(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiResponseBodyWriterPipelineComponent>());
 }
Example #9
0
 /// <summary>Uses the API request header validation.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestHeaderValidation(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestHeaderValidationPipelineComponent>());
 }
Example #10
0
 /// <summary>Uses the API request not found.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestNotFound(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestNotFoundPipelineComponent>());
 }
Example #11
0
 /// <summary>Uses the API request cors preflight.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestCorsPreflight(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestCorsPreflightPipelineComponent>());
 }
Example #12
0
 /// <summary>Uses the API request authentication.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestAuthentication(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestAuthenticationPipelineComponent>());
 }
Example #13
0
 /// <summary>Uses the API request invocation initializer.</summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <returns></returns>
 public static IApiRequestPipeline UseApiRequestInvocationInitializer(this IApiRequestPipeline pipeline)
 {
     return(pipeline.UsePipelineComponent <ApiRequestInvocationInitializerPipelineComponent>());
 }