Skip to content

Feature request: Support synchronous Http. #1598

@kasobol-msft

Description

@kasobol-msft

The http components of azure-core now support synchronous http e2e.
The ask for autorest is to support generation that creates both synchronous and asynchronous methods at service interface and make calls from client apis fully sync or async (respectively).

Please use the following PRs as blueprints (couple of SDKs with handcrafted code):
Azure/azure-sdk-for-java#30028
Azure/azure-sdk-for-java#30136
Azure/azure-sdk-for-java#30162

Autorest should generate fully-synchronous flows as default if sync clients are requested to be generated.
There should be an opt-in flag to fallback to sync-over-async (i.e. block on async) in case one of the SDKs we generate faces a blocker that needs resolution in the azure-core.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.v4

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions