91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 10.16MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-09
  • 語言: 其他
  • 標簽: restsharp??

資源簡介

這是github上下載下來,然后修改的,沒提交到github上,大家下載后解壓出來的那個dll是編譯后,的,源碼自己編譯也可以,編譯的時候選擇編譯那個 40 版本的,不要編譯整個解決方案。 主要是修改兩個問題:一個問題是請求接口中文亂碼的問題 第二個問題是,有時候,對方接口參數比較奇怪,而我們的request類的屬性又不能用那種名字,就需要指定別名。比如當當的開放平臺 出版物類 的添加,某個參數的名字是 item_descs.editor_recomm ,顯然,我們在寫類的時候,無法把一個類的名字寫成 item_descs.editor_recomm 這個,所以,需要為這個屬性指定別名 使用方法: [RestRequestObjectAttribute("item_descs.media_comment")] public string item_descs__media_comment { get; set; } 這樣,restsharp 就會按你上面指定的那個參數來發包了。 之前發了一個,那個是沒只改了亂碼問題,沒有修改指定參數別名的,以后大家下載這個新的

資源截圖

代碼片段和文件信息

#region?License
//???Copyright?2010?John?Sheehan
//
//???Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
//???you?may?not?use?this?file?except?in?compliance?with?the?License.
//???You?may?obtain?a?copy?of?the?License?at
//
//?????http://www.apache.org/licenses/LICENSE-2.0
//
//???Unless?required?by?applicable?law?or?agreed?to?in?writing?software
//???distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
//???WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
//???See?the?License?for?the?specific?language?governing?permissions?and
//???limitations?under?the?License.?
#endregion

namespace?RestSharp
{
????///
????///?Types?of?parameters?that?can?be?added?to?requests
????///

????public?enum?ParameterType
????{
????????Cookie
????????GetOrPost
????????UrlSegment
????????HttpHeader
????????RequestBody
????????QueryString
????}

????///?
????///?Data?formats
????///?

????public?enum?DataFormat
????{
????????Json
????????xml
????}

????///?
????///?HTTP?method?to?use?when?making?requests
????///?

????public?enum?Method
????{
????????GET
????????POST
????????PUT
????????DELETE
????????HEAD
????????OPTIONS
????????PATCH
????????MERGE
????}

????///?
????///?Format?strings?for?commonly-used?date?formats
????///?

????public?struct?DateFormat
????{
????????///?
????????///?.NET?format?string?for?ISO?8601?date?format
????????///?

????????public?const?string?ISO_8601?=?“s“;

????????///?
????????///?.NET?format?string?for?roundtrip?date?format
????????///?

????????public?const?string?ROUND_TRIP?=?“u“;
????}

????///?
????///?Status?for?responses?(surprised?)
????///?

????public?enum?ResponseStatus
????{
????????None
????????Completed
????????Error
????????TimedOut
????????Aborted
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????483??2016-04-26?12:14??libs\RestSharp-master\.gitattributes

?????文件????????503??2016-04-26?12:14??libs\RestSharp-master\.gitignore

?????文件????????164??2016-04-26?12:14??libs\RestSharp-master\.nuget\NuGet.Config

?????文件?????567296??2016-04-26?12:14??libs\RestSharp-master\.nuget\NuGet.exe

?????文件???????3730??2016-04-26?12:14??libs\RestSharp-master\.nuget\NuGet.targets

?????文件???????7168??2016-04-26?12:14??libs\RestSharp-master\.nuget\RestSharp.Build.dll

?????文件???????7680??2016-04-26?12:14??libs\RestSharp-master\.nuget\Signed\RestSharp.Build.dll

????..A..H.????591360??2018-10-17?17:55??libs\RestSharp-master\.vs\RestSharp\v14\.suo

?????文件????????613??2016-04-26?12:14??libs\RestSharp-master\appveyor.yml

?????文件???????6403??2016-04-26?12:14??libs\RestSharp-master\build.bat

?????文件???????1133??2016-04-26?12:14??libs\RestSharp-master\CONTRIBUTING.markdown

?????文件???????9143??2016-04-26?12:14??libs\RestSharp-master\LICENSE.txt

?????文件?????151552??2014-12-16?22:04??libs\RestSharp-master\packages\NUnit.2.6.4\lib\nunit.framework.dll

?????文件?????584600??2014-12-16?22:04??libs\RestSharp-master\packages\NUnit.2.6.4\lib\nunit.framework.xml

?????文件???????1131??2014-12-16?22:04??libs\RestSharp-master\packages\NUnit.2.6.4\license.txt

?????文件??????99004??2017-08-19?13:06??libs\RestSharp-master\packages\NUnit.2.6.4\NUnit.2.6.4.nupkg

?????文件??????89230??2014-03-18?21:20??libs\RestSharp-master\packages\SimpleJson.0.38.0\content\SimpleJson.cs.pp

?????文件??????31757??2017-08-19?13:06??libs\RestSharp-master\packages\SimpleJson.0.38.0\SimpleJson.0.38.0.nupkg

?????文件??????90865??2014-03-18?21:20??libs\RestSharp-master\packages\SimpleJson.0.38.0\SimpleJson.psm1

?????文件???????3539??2016-04-26?12:14??libs\RestSharp-master\README.markdown

?????文件????????944??2016-04-26?12:14??libs\RestSharp-master\readme.txt

?????文件???????6601??2016-04-26?12:14??libs\RestSharp-master\releasenotes.markdown

?????文件???????1882??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\HttpBasicAuthenticator.cs

?????文件????????797??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\IAuthenticator.cs

?????文件???????1844??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\JwtAuthenticator.cs

?????文件???????2105??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\NtlmAuthenticator.cs

?????文件???????2867??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\OAuth\Extensions\CollectionExtensions.cs

?????文件???????1981??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\OAuth\Extensions\OAuthExtensions.cs

?????文件???????2956??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\OAuth\Extensions\StringExtensions.cs

?????文件????????735??2016-04-26?12:14??libs\RestSharp-master\RestSharp\Authenticators\OAuth\Extensions\TimeExtensions.cs

............此處省略757個文件信息

評論

共有 條評論