🧠
ngx-crud
  • Introduction
  • API
    • HTTP Operations
    • HTTP Aborting
    • HTTP Caching
    • HTTP Observing
    • HTTP Options
    • HTTP Context
    • HTTP Headers
    • HTTP Params
    • Service Instance
    • Service Options
  • Reference
    • Modules
      • AbortModule
      • CacheModule
      • ObserveModule
      • CrudModule
    • Services
      • AbortService
      • CacheService
      • CommonService
      • CrudService
      • CustomService
      • DeleteService
      • FindService
      • GetService
      • ObserveService
      • PatchService
      • PostService
      • PutService
    • Interceptors
      • AbortInterceptor
      • CacheInterceptor
      • ObserveInterceptor
    • Decorators
      • @ApiUrl
      • @ApiRoute
    • Helpers
      • createUrl
      • createUrlWithId
      • stripUrlParams
  • Examples
    • Services
      • Fully Typed Collection
      • Limited Singleton
    • Components
      • Loader
    • Effects
      • ProfilerEffect
      • ErrorEffect
      • OfflineEffect
  • Links
    • GitHub
Powered by GitBook
On this page
  • Get
  • Set
  • Clear
  1. API

HTTP Options

Get

Get a single option of the service:

crudService.getOption(name : keyof Options) : Options[keyof Options]

Get the options of the service:

crudService.getOptions() : Options

Set

Set a single option of the service:

crudService.setOption(name : keyof Options, value : Options[keyof Options]) : this

Set the options of the service:

crudService.setOptions(options : Options) : this

Clear

Clear a single option of the service:

crudService.clearOption(name : keyof Options) : this

Clear the options of the service:

crudService.clearOptions() : this
PreviousHTTP ObservingNextHTTP Context

Last updated 3 years ago