# Uses of Class
io.dapr.client.domain.InvokeMethodRequest

Packages that use InvokeMethodRequest
Package
Description
io.dapr.client
io.dapr.client.domain
io.dapr.spring.boot.autoconfigure.client
io.dapr.spring.boot4.autoconfigure.client

- ## Uses of InvokeMethodRequest in io.dapr.client

  Methods in io.dapr.client with parameters of type InvokeMethodRequest
  Modifier and Type
  Method
  Description
  `<T> reactor.core.publisher.Mono<T>`
  DaprClient.`invokeMethod(InvokeMethodRequest invokeMethodRequest, TypeRef<T> type)`
  Deprecated.
  It is recommended to use language-native HTTP clients or gRPC clients for service invocation instead.
  `<T> reactor.core.publisher.Mono<T>`
  DaprClientImpl.`invokeMethod(InvokeMethodRequest invokeMethodRequest, TypeRef<T> type)`
  Deprecated.

- ## Uses of InvokeMethodRequest in io.dapr.client.domain

  Methods in io.dapr.client.domain that return InvokeMethodRequest
  Modifier and Type
  Method
  Description
  `InvokeMethodRequest`
  InvokeMethodRequest.`setBody(Object body)`
  `InvokeMethodRequest`
  InvokeMethodRequest.`setContentType(String contentType)`
  `InvokeMethodRequest`
  InvokeMethodRequest.`setHttpExtension(HttpExtension httpExtension)`
  `InvokeMethodRequest`
  InvokeMethodRequest.`setMetadata(Map<String,String> metadata)`

- ## Uses of InvokeMethodRequest in io.dapr.spring.boot.autoconfigure.client

  Methods in io.dapr.spring.boot.autoconfigure.client with parameters of type InvokeMethodRequest
  Modifier and Type
  Method
  Description
  `<T> reactor.core.publisher.Mono<T>`
  ObservationDaprClient.`invokeMethod(InvokeMethodRequest invokeMethodRequest, TypeRef<T> type)`
  Deprecated.

- ## Uses of InvokeMethodRequest in io.dapr.spring.boot4.autoconfigure.client

  Methods in io.dapr.spring.boot4.autoconfigure.client with parameters of type InvokeMethodRequest
  Modifier and Type
  Method
  Description
  `<T> reactor.core.publisher.Mono<T>`
  ObservationDaprClient.`invokeMethod(InvokeMethodRequest invokeMethodRequest, TypeRef<T> type)`
  Deprecated.