-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问 HttpApiClient.Create<T>() 还支持吗? #237
Comments
你好, |
EzrealJ
added
the
等待反馈(needs feedback)
这意味着需要来自发起者的反馈(This means that feedback from the author is required)
label
Sep 10, 2023
EzrealJ
removed
the
等待反馈(needs feedback)
这意味着需要来自发起者的反馈(This means that feedback from the author is required)
label
May 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题,需要如文章:1.1 最简单的Get请求#
public interface MyWebApi : IDisposable
{
// GET http://www.mywebapi.com/webapi/user?account=laojiu
[HttpGet("http://www.mywebapi.com/webapi/user")]
ITask GetUserByAccountAsync(string account);
}
var myWebApi = HttpApiClient.Create();
var userStr = await myWebApi.GetUserByAccountAsync("laojiu");
myWebApi.Dispose();
来调用此库,但找不到 HttpApiClient.Create() ,请问 HttpApiClient.Create() 还支持吗?
盼复,谢谢!
The text was updated successfully, but these errors were encountered: