123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>RestSharp</name>
- </assembly>
- <members>
- <member name="T:RestSharp.NtlmAuthenticator">
- <summary>
- Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user
- </summary>
- </member>
- <member name="M:RestSharp.NtlmAuthenticator.#ctor">
- <summary>
- Authenticate with the credentials of the currently logged in user
- </summary>
- </member>
- <member name="M:RestSharp.NtlmAuthenticator.#ctor(System.String,System.String)">
- <summary>
- Authenticate by impersonation
- </summary>
- <param name="username"></param>
- <param name="password"></param>
- </member>
- <member name="M:RestSharp.NtlmAuthenticator.#ctor(System.Net.ICredentials)">
- <summary>
- Authenticate by impersonation, using an existing <c>ICredentials</c> instance
- </summary>
- <param name="credentials"></param>
- </member>
- <member name="T:RestSharp.Authenticators.OAuth1Authenticator">
- <seealso href="http://tools.ietf.org/html/rfc5849"/>
- </member>
- <member name="T:RestSharp.OAuth2Authenticator">
- <summary>
- Base class for OAuth 2 Authenticators.
- </summary>
- <remarks>
- Since there are many ways to authenticate in OAuth2,
- this is used as a base class to differentiate between
- other authenticators.
-
- Any other OAuth2 authenticators must derive from this
- abstract class.
- </remarks>
- </member>
- <member name="F:RestSharp.OAuth2Authenticator._accessToken">
- <summary>
- Access token to be used when authenticating.
- </summary>
- </member>
- <member name="M:RestSharp.OAuth2Authenticator.#ctor(System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:RestSharp.OAuth2Authenticator"/> class.
- </summary>
- <param name="accessToken">
- The access token.
- </param>
- </member>
- <member name="P:RestSharp.OAuth2Authenticator.AccessToken">
- <summary>
- Gets the access token.
- </summary>
- </member>
- <member name="T:RestSharp.OAuth2UriQueryParameterAuthenticator">
- <summary>
- The OAuth 2 authenticator using URI query parameter.
- </summary>
- <remarks>
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2
- </remarks>
- </member>
- <member name="M:RestSharp.OAuth2UriQueryParameterAuthenticator.#ctor(System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:RestSharp.OAuth2UriQueryParameterAuthenticator"/> class.
- </summary>
- <param name="accessToken">
- The access token.
- </param>
- </member>
- <member name="T:RestSharp.OAuth2AuthorizationRequestHeaderAuthenticator">
- <summary>
- The OAuth 2 authenticator using the authorization request header field.
- </summary>
- <remarks>
- Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
- </remarks>
- </member>
- <member name="F:RestSharp.OAuth2AuthorizationRequestHeaderAuthenticator._authorizationValue">
- <summary>
- Stores the Authorization header value as "[tokenType] accessToken". used for performance.
- </summary>
- </member>
- <member name="M:RestSharp.OAuth2AuthorizationRequestHeaderAuthenticator.#ctor(System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:RestSharp.OAuth2AuthorizationRequestHeaderAuthenticator"/> class.
- </summary>
- <param name="accessToken">
- The access token.
- </param>
- </member>
- <member name="M:RestSharp.OAuth2AuthorizationRequestHeaderAuthenticator.#ctor(System.String,System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:RestSharp.OAuth2AuthorizationRequestHeaderAuthenticator"/> class.
- </summary>
- <param name="accessToken">
- The access token.
- </param>
- <param name="tokenType">
- The token type.
- </param>
- </member>
- <member name="F:RestSharp.Authenticators.OAuth.OAuthTools._encoding">
- <summary>
- All text parameters are UTF-8 encoded (per section 5.1).
- </summary>
- <seealso cref="!:http://www.hueniverse.com/hueniverse/2008/10/beginners-gui-1.html"/>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetNonce">
- <summary>
- Generates a random 16-byte lowercase alphanumeric string.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#nonce"/>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetTimestamp">
- <summary>
- Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT"
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#nonce"/>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetTimestamp(System.DateTime)">
- <summary>
- Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT"
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#nonce"/>
- <param name="dateTime">A specified point in time.</param>
- <returns></returns>
- </member>
- <member name="F:RestSharp.Authenticators.OAuth.OAuthTools.UriRfc3986CharsToEscape">
- <summary>
- The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986.
- </summary>
- <seealso cref="!:http://stackoverflow.com/questions/846487/how-to-get-uri-escapedatastring-to-comply-with-rfc-3986"/>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.UrlEncodeRelaxed(System.String)">
- <summary>
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
- </summary>
- <param name="value">The value to escape.</param>
- <returns>The escaped value.</returns>
- <remarks>
- The <see cref="M:System.Uri.EscapeDataString(System.String)"/> method is <i>supposed</i> to take on
- RFC 3986 behavior if certain elements are present in a .config file. Even if this
- actually worked (which in my experiments it <i>doesn't</i>), we can't rely on every
- host actually having this configuration element present.
- </remarks>
- <seealso cref="!:http://oauth.net/core/1.0#encoding_parameters"/>
- <seealso cref="!:http://stackoverflow.com/questions/846487/how-to-get-uri-escapedatastring-to-comply-with-rfc-3986"/>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.UrlEncodeStrict(System.String)">
- <summary>
- URL encodes a string based on section 5.1 of the OAuth spec.
- Namely, percent encoding with [RFC3986], avoiding unreserved characters,
- upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs.
- </summary>
- <param name="value"></param>
- <seealso cref="!:http://oauth.net/core/1.0#encoding_parameters"/>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.NormalizeRequestParameters(RestSharp.Authenticators.OAuth.WebParameterCollection)">
- <summary>
- Sorts a collection of key-value pairs by name, and then value if equal,
- concatenating them into a single string. This string should be encoded
- prior to, or after normalization is run.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.1"/>
- <param name="parameters"></param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.SortParametersExcludingSignature(RestSharp.Authenticators.OAuth.WebParameterCollection)">
- <summary>
- Sorts a <see cref="T:RestSharp.Authenticators.OAuth.WebParameterCollection"/> by name, and then value if equal.
- </summary>
- <param name="parameters">A collection of parameters to sort</param>
- <returns>A sorted parameter collection</returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.ConstructRequestUrl(System.Uri)">
- <summary>
- Creates a request URL suitable for making OAuth requests.
- Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively.
- Resulting URLs must be lower case.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.2"/>
- <param name="url">The original request URL</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.ConcatenateRequestElements(System.String,System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
- <summary>
- Creates a request elements concatentation value to send with a request.
- This is also known as the signature base.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.1.3"/>
- <seealso cref="!:http://oauth.net/core/1.0#sig_base_example"/>
- <param name="method">The request's HTTP method type</param>
- <param name="url">The request URL</param>
- <param name="parameters">The request's parameters</param>
- <returns>A signature base string</returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,System.String,System.String)">
- <summary>
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
- <param name="signatureMethod">The hashing method</param>
- <param name="signatureBase">The signature base</param>
- <param name="consumerSecret">The consumer key</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,RestSharp.Authenticators.OAuth.OAuthSignatureTreatment,System.String,System.String)">
- <summary>
- Creates a signature value given a signature base and the consumer secret.
- This method is used when the token secret is currently unknown.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
- <param name="signatureMethod">The hashing method</param>
- <param name="signatureTreatment">The treatment to use on a signature value</param>
- <param name="signatureBase">The signature base</param>
- <param name="consumerSecret">The consumer key</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,System.String,System.String,System.String)">
- <summary>
- Creates a signature value given a signature base and the consumer secret and a known token secret.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
- <param name="signatureMethod">The hashing method</param>
- <param name="signatureBase">The signature base</param>
- <param name="consumerSecret">The consumer secret</param>
- <param name="tokenSecret">The token secret</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthTools.GetSignature(RestSharp.Authenticators.OAuth.OAuthSignatureMethod,RestSharp.Authenticators.OAuth.OAuthSignatureTreatment,System.String,System.String,System.String)">
- <summary>
- Creates a signature value given a signature base and the consumer secret and a known token secret.
- </summary>
- <seealso cref="!:http://oauth.net/core/1.0#rfc.section.9.2"/>
- <param name="signatureMethod">The hashing method</param>
- <param name="signatureTreatment">The treatment to use on a signature value</param>
- <param name="signatureBase">The signature base</param>
- <param name="consumerSecret">The consumer secret</param>
- <param name="tokenSecret">The token secret</param>
- <returns></returns>
- </member>
- <member name="T:RestSharp.Authenticators.OAuth.OAuthWorkflow">
- <summary>
- A class to encapsulate OAuth authentication flow.
- <seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
- </summary>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildRequestTokenInfo(System.String)">
- <summary>
- Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
- <see cref="T:RestSharp.IAuthenticator"/> for the purpose of requesting an
- unauthorized request token.
- </summary>
- <param name="method">The HTTP method for the intended request</param>
- <seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildRequestTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
- <summary>
- Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
- <see cref="T:RestSharp.IAuthenticator"/> for the purpose of requesting an
- unauthorized request token.
- </summary>
- <param name="method">The HTTP method for the intended request</param>
- <param name="parameters">Any existing, non-OAuth query parameters desired in the request</param>
- <seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildAccessTokenInfo(System.String)">
- <summary>
- Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
- <see cref="T:RestSharp.IAuthenticator"/> for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
- </summary>
- <param name="method">The HTTP method for the intended request</param>
- <seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildAccessTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
- <summary>
- Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
- <see cref="T:RestSharp.IAuthenticator"/> for the purpose of exchanging a request token
- for an access token authorized by the user at the Service Provider site.
- </summary>
- <param name="method">The HTTP method for the intended request</param>
- <seealso cref="!:http://oauth.net/core/1.0#anchor9"/>
- <param name="parameters">Any existing, non-OAuth query parameters desired in the request</param>
- </member>
- <member name="M:RestSharp.Authenticators.OAuth.OAuthWorkflow.BuildClientAuthAccessTokenInfo(System.String,RestSharp.Authenticators.OAuth.WebParameterCollection)">
- <summary>
- Generates a <see cref="T:RestSharp.Authenticators.OAuth.OAuthWebQueryInfo"/> instance to pass to an
- <see cref="T:RestSharp.IAuthenticator"/> for the purpose of exchanging user credentials
- for an access token authorized by the user at the Service Provider site.
- </summary>
- <param name="method">The HTTP method for the intended request</param>
- <seealso cref="!:http://tools.ietf.org/html/draft-dehora-farrell-oauth-accesstoken-creds-00#section-4"/>
- <param name="parameters">Any existing, non-OAuth query parameters desired in the request</param>
- </member>
- <member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.RequestTokenUrl">
- <seealso cref="!:http://oauth.net/core/1.0#request_urls"/>
- </member>
- <member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.AccessTokenUrl">
- <seealso cref="!:http://oauth.net/core/1.0#request_urls"/>
- </member>
- <member name="P:RestSharp.Authenticators.OAuth.OAuthWorkflow.AuthorizationUrl">
- <seealso cref="!:http://oauth.net/core/1.0#request_urls"/>
- </member>
- <member name="T:RestSharp.Deserializers.DeserializeAsAttribute">
- <summary>
- Allows control how class and property names and values are deserialized by XmlAttributeDeserializer
- </summary>
- </member>
- <member name="P:RestSharp.Deserializers.DeserializeAsAttribute.Name">
- <summary>
- The name to use for the serialized element
- </summary>
- </member>
- <member name="P:RestSharp.Deserializers.DeserializeAsAttribute.Attribute">
- <summary>
- Sets if the property to Deserialize is an Attribute or Element (Default: false)
- </summary>
- </member>
- <member name="T:RestSharp.Deserializers.DotNetXmlDeserializer">
- <summary>
- Wrapper for System.Xml.Serialization.XmlSerializer.
- </summary>
- </member>
- <member name="T:RestSharp.ParameterType">
- <summary>
- Types of parameters that can be added to requests
- </summary>
- </member>
- <member name="T:RestSharp.DataFormat">
- <summary>
- Data formats
- </summary>
- </member>
- <member name="T:RestSharp.Method">
- <summary>
- HTTP method to use when making requests
- </summary>
- </member>
- <member name="T:RestSharp.DateFormat">
- <summary>
- Format strings for commonly-used date formats
- </summary>
- </member>
- <member name="F:RestSharp.DateFormat.Iso8601">
- <summary>
- .NET format string for ISO 8601 date format
- </summary>
- </member>
- <member name="F:RestSharp.DateFormat.RoundTrip">
- <summary>
- .NET format string for roundtrip date format
- </summary>
- </member>
- <member name="T:RestSharp.ResponseStatus">
- <summary>
- Status for responses (surprised?)
- </summary>
- </member>
- <member name="T:RestSharp.Extensions.MiscExtensions">
- <summary>
- Extension method overload!
- </summary>
- </member>
- <member name="M:RestSharp.Extensions.MiscExtensions.SaveAs(System.Byte[],System.String)">
- <summary>
- Save a byte array to a file
- </summary>
- <param name="input">Bytes to save</param>
- <param name="path">Full path to save file to</param>
- </member>
- <member name="M:RestSharp.Extensions.MiscExtensions.ReadAsBytes(System.IO.Stream)">
- <summary>
- Read a stream into a byte array
- </summary>
- <param name="input">Stream to read</param>
- <returns>byte[]</returns>
- </member>
- <member name="M:RestSharp.Extensions.MiscExtensions.CopyTo(System.IO.Stream,System.IO.Stream)">
- <summary>
- Copies bytes from one stream to another
- </summary>
- <param name="input">The input stream.</param>
- <param name="output">The output stream.</param>
- </member>
- <member name="M:RestSharp.Extensions.MiscExtensions.AsString(System.Byte[])">
- <summary>
- Converts a byte array to a string, using its byte order mark to convert it to the right encoding.
- http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx
- </summary>
- <param name="buffer">An array of bytes to convert</param>
- <returns>The byte as a string.</returns>
- </member>
- <member name="M:RestSharp.Contrib.HttpUtility.HtmlDecode(System.String)">
- <summary>
- Decodes an HTML-encoded string and returns the decoded string.
- </summary>
- <param name="s">The HTML string to decode. </param>
- <returns>The decoded text.</returns>
- </member>
- <member name="M:RestSharp.Contrib.HttpUtility.HtmlDecode(System.String,System.IO.TextWriter)">
- <summary>
- Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
- </summary>
- <param name="s">The HTML string to decode</param>
- <param name="output">The TextWriter output stream containing the decoded string. </param>
- </member>
- <member name="M:RestSharp.Contrib.HttpUtility.HtmlEncode(System.String,System.IO.TextWriter)">
- <summary>
- HTML-encodes a string and sends the resulting output to a TextWriter output stream.
- </summary>
- <param name="s">The string to encode. </param>
- <param name="output">The TextWriter output stream containing the encoded string. </param>
- </member>
- <member name="T:RestSharp.Extensions.ReflectionExtensions">
- <summary>
- Reflection extensions
- </summary>
- </member>
- <member name="M:RestSharp.Extensions.ReflectionExtensions.GetAttribute``1(System.Reflection.MemberInfo)">
- <summary>
- Retrieve an attribute from a member (property)
- </summary>
- <typeparam name="T">Type of attribute to retrieve</typeparam>
- <param name="prop">Member to retrieve attribute from</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Extensions.ReflectionExtensions.GetAttribute``1(System.Type)">
- <summary>
- Retrieve an attribute from a type
- </summary>
- <typeparam name="T">Type of attribute to retrieve</typeparam>
- <param name="type">Type to retrieve attribute from</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Extensions.ReflectionExtensions.IsSubclassOfRawGeneric(System.Type,System.Type)">
- <summary>
- Checks a type to see if it derives from a raw generic (e.g. List[[]])
- </summary>
- <param name="toCheck"></param>
- <param name="generic"></param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Extensions.ReflectionExtensions.FindEnumValue(System.Type,System.String,System.Globalization.CultureInfo)">
- <summary>
- Find a value from a System.Enum by trying several possible variants
- of the string value of the enum.
- </summary>
- <param name="type">Type of enum</param>
- <param name="value">Value for which to search</param>
- <param name="culture">The culture used to calculate the name variants</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Extensions.ResponseStatusExtensions.ToWebException(RestSharp.ResponseStatus)">
- <summary>
- Convert a <see cref="T:RestSharp.ResponseStatus"/> to a <see cref="T:System.Net.WebException"/> instance.
- </summary>
- <param name="responseStatus">The response status.</param>
- <returns></returns>
- <exception cref="T:System.ArgumentOutOfRangeException">responseStatus</exception>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.UrlEncode(System.String)">
- <summary>
- Uses Uri.EscapeDataString() based on recommendations on MSDN
- http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
- </summary>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.HasValue(System.String)">
- <summary>
- Check that a string is not null or empty
- </summary>
- <param name="input">String to check</param>
- <returns>bool</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.RemoveUnderscoresAndDashes(System.String)">
- <summary>
- Remove underscores from a string
- </summary>
- <param name="input">String to process</param>
- <returns>string</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.ParseJsonDate(System.String,System.Globalization.CultureInfo)">
- <summary>
- Parses most common JSON date formats
- </summary>
- <param name="input">JSON value to parse</param>
- <param name="culture"></param>
- <returns>DateTime</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.RemoveSurroundingQuotes(System.String)">
- <summary>
- Remove leading and trailing " from a string
- </summary>
- <param name="input">String to parse</param>
- <returns>String</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.Matches(System.String,System.String)">
- <summary>
- Checks a string to see if it matches a regex
- </summary>
- <param name="input">String to check</param>
- <param name="pattern">Pattern to match</param>
- <returns>bool</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.ToPascalCase(System.String,System.Globalization.CultureInfo)">
- <summary>
- Converts a string to pascal case
- </summary>
- <param name="lowercaseAndUnderscoredWord">String to convert</param>
- <param name="culture"></param>
- <returns>string</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.ToPascalCase(System.String,System.Boolean,System.Globalization.CultureInfo)">
- <summary>
- Converts a string to pascal case with the option to remove underscores
- </summary>
- <param name="text">String to convert</param>
- <param name="removeUnderscores">Option to remove underscores</param>
- <param name="culture"></param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.ToCamelCase(System.String,System.Globalization.CultureInfo)">
- <summary>
- Converts a string to camel case
- </summary>
- <param name="lowercaseAndUnderscoredWord">String to convert</param>
- <param name="culture"></param>
- <returns>String</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.MakeInitialLowerCase(System.String)">
- <summary>
- Convert the first letter of a string to lower case
- </summary>
- <param name="word">String to convert</param>
- <returns>string</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.IsUpperCase(System.String)">
- <summary>
- Checks to see if a string is all uppper case
- </summary>
- <param name="inputString">String to check</param>
- <returns>bool</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.AddUnderscores(System.String)">
- <summary>
- Add underscores to a pascal-cased string
- </summary>
- <param name="pascalCasedWord">String to convert</param>
- <returns>string</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.AddDashes(System.String)">
- <summary>
- Add dashes to a pascal-cased string
- </summary>
- <param name="pascalCasedWord">String to convert</param>
- <returns>string</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.AddUnderscorePrefix(System.String)">
- <summary>
- Add an undescore prefix to a pascasl-cased string
- </summary>
- <param name="pascalCasedWord"></param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.AddSpaces(System.String)">
- <summary>
- Add spaces to a pascal-cased string
- </summary>
- <param name="pascalCasedWord">String to convert</param>
- <returns>string</returns>
- </member>
- <member name="M:RestSharp.Extensions.StringExtensions.GetNameVariants(System.String,System.Globalization.CultureInfo)">
- <summary>
- Return possible variants of a name for name matching.
- </summary>
- <param name="name">String to convert</param>
- <param name="culture">The culture to use for conversion</param>
- <returns>IEnumerable<string></returns>
- </member>
- <member name="T:RestSharp.Extensions.XmlExtensions">
- <summary>
- XML Extension Methods
- </summary>
- </member>
- <member name="M:RestSharp.Extensions.XmlExtensions.AsNamespaced(System.String,System.String)">
- <summary>
- Returns the name of an element with the namespace if specified
- </summary>
- <param name="name">Element name</param>
- <param name="namespace">XML Namespace</param>
- <returns></returns>
- </member>
- <member name="T:RestSharp.FileParameter">
- <summary>
- Container for files to be uploaded with requests
- </summary>
- </member>
- <member name="M:RestSharp.FileParameter.Create(System.String,System.Byte[],System.String,System.String)">
- <summary>
- Creates a file parameter from an array of bytes.
- </summary>
- <param name="name">The parameter name to use in the request.</param>
- <param name="data">The data to use as the file's contents.</param>
- <param name="filename">The filename to use in the request.</param>
- <param name="contentType">The content type to use in the request.</param>
- <returns>The <see cref="T:RestSharp.FileParameter"/></returns>
- </member>
- <member name="M:RestSharp.FileParameter.Create(System.String,System.Byte[],System.String)">
- <summary>
- Creates a file parameter from an array of bytes.
- </summary>
- <param name="name">The parameter name to use in the request.</param>
- <param name="data">The data to use as the file's contents.</param>
- <param name="filename">The filename to use in the request.</param>
- <returns>The <see cref="T:RestSharp.FileParameter"/> using the default content type.</returns>
- </member>
- <member name="P:RestSharp.FileParameter.ContentLength">
- <summary>
- The length of data to be sent
- </summary>
- </member>
- <member name="P:RestSharp.FileParameter.Writer">
- <summary>
- Provides raw data for file
- </summary>
- </member>
- <member name="P:RestSharp.FileParameter.FileName">
- <summary>
- Name of the file to use when uploading
- </summary>
- </member>
- <member name="P:RestSharp.FileParameter.ContentType">
- <summary>
- MIME content type of file
- </summary>
- </member>
- <member name="P:RestSharp.FileParameter.Name">
- <summary>
- Name of the parameter
- </summary>
- </member>
- <member name="T:RestSharp.Http">
- <summary>
- HttpWebRequest wrapper (async methods)
- </summary>
- <summary>
- HttpWebRequest wrapper
- </summary>
- <summary>
- HttpWebRequest wrapper (sync methods)
- </summary>
- </member>
- <member name="P:RestSharp.IHttp.AlwaysMultipartFormData">
- <summary>
- Always send a multipart/form-data request - even when no Files are present.
- </summary>
- </member>
- <member name="P:RestSharp.IHttp.RequestBodyBytes">
- <summary>
- An alternative to RequestBody, for when the caller already has the byte array.
- </summary>
- </member>
- <member name="M:RestSharp.Http.AsPostAsync(System.Action{RestSharp.HttpResponse},System.String)">
- <summary>
- Execute an async POST-style request with the specified HTTP Method.
- </summary>
- <param name="action"></param>
- <param name="httpMethod">The HTTP method to execute.</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Http.AsGetAsync(System.Action{RestSharp.HttpResponse},System.String)">
- <summary>
- Execute an async GET-style request with the specified HTTP Method.
- </summary>
- <param name="action"></param>
- <param name="httpMethod">The HTTP method to execute.</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Http.Create">
- <summary>
- Creates an IHttp
- </summary>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Http.#ctor">
- <summary>
- Default constructor
- </summary>
- </member>
- <member name="M:RestSharp.Http.Post">
- <summary>
- Execute a POST request
- </summary>
- </member>
- <member name="M:RestSharp.Http.Put">
- <summary>
- Execute a PUT request
- </summary>
- </member>
- <member name="M:RestSharp.Http.Get">
- <summary>
- Execute a GET request
- </summary>
- </member>
- <member name="M:RestSharp.Http.Head">
- <summary>
- Execute a HEAD request
- </summary>
- </member>
- <member name="M:RestSharp.Http.Options">
- <summary>
- Execute an OPTIONS request
- </summary>
- </member>
- <member name="M:RestSharp.Http.Delete">
- <summary>
- Execute a DELETE request
- </summary>
- </member>
- <member name="M:RestSharp.Http.Patch">
- <summary>
- Execute a PATCH request
- </summary>
- </member>
- <member name="M:RestSharp.Http.Merge">
- <summary>
- Execute a MERGE request
- </summary>
- </member>
- <member name="M:RestSharp.Http.AsGet(System.String)">
- <summary>
- Execute a GET-style request with the specified HTTP Method.
- </summary>
- <param name="httpMethod">The HTTP method to execute.</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.Http.AsPost(System.String)">
- <summary>
- Execute a POST-style request with the specified HTTP Method.
- </summary>
- <param name="httpMethod">The HTTP method to execute.</param>
- <returns></returns>
- </member>
- <member name="P:RestSharp.Http.HasParameters">
- <summary>
- True if this HTTP request has any HTTP parameters
- </summary>
- </member>
- <member name="P:RestSharp.Http.HasCookies">
- <summary>
- True if this HTTP request has any HTTP cookies
- </summary>
- </member>
- <member name="P:RestSharp.Http.HasBody">
- <summary>
- True if a request body has been specified
- </summary>
- </member>
- <member name="P:RestSharp.Http.HasFiles">
- <summary>
- True if files have been set to be uploaded
- </summary>
- </member>
- <member name="P:RestSharp.Http.AlwaysMultipartFormData">
- <summary>
- Always send a multipart/form-data request - even when no Files are present.
- </summary>
- </member>
- <member name="P:RestSharp.Http.UserAgent">
- <summary>
- UserAgent to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.Timeout">
- <summary>
- Timeout in milliseconds to be used for the request
- </summary>
- </member>
- <member name="P:RestSharp.Http.ReadWriteTimeout">
- <summary>
- The number of milliseconds before the writing or reading times out.
- </summary>
- </member>
- <member name="P:RestSharp.Http.Credentials">
- <summary>
- System.Net.ICredentials to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.CookieContainer">
- <summary>
- The System.Net.CookieContainer to be used for the request
- </summary>
- </member>
- <member name="P:RestSharp.Http.ResponseWriter">
- <summary>
- The method to use to write the response instead of reading into RawBytes
- </summary>
- </member>
- <member name="P:RestSharp.Http.Files">
- <summary>
- Collection of files to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.FollowRedirects">
- <summary>
- Whether or not HTTP 3xx response redirects should be automatically followed
- </summary>
- </member>
- <member name="P:RestSharp.Http.ClientCertificates">
- <summary>
- X509CertificateCollection to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.MaxRedirects">
- <summary>
- Maximum number of automatic redirects to follow if FollowRedirects is true
- </summary>
- </member>
- <member name="P:RestSharp.Http.UseDefaultCredentials">
- <summary>
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server.
- </summary>
- </member>
- <member name="P:RestSharp.Http.Headers">
- <summary>
- HTTP headers to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.Parameters">
- <summary>
- HTTP parameters (QueryString or Form values) to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.Cookies">
- <summary>
- HTTP cookies to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.RequestBody">
- <summary>
- Request body to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.Http.RequestContentType">
- <summary>
- Content type of the request body.
- </summary>
- </member>
- <member name="P:RestSharp.Http.RequestBodyBytes">
- <summary>
- An alternative to RequestBody, for when the caller already has the byte array.
- </summary>
- </member>
- <member name="P:RestSharp.Http.Url">
- <summary>
- URL to call for this request
- </summary>
- </member>
- <member name="P:RestSharp.Http.PreAuthenticate">
- <summary>
- Flag to send authorisation header with the HttpWebRequest
- </summary>
- </member>
- <member name="P:RestSharp.Http.Proxy">
- <summary>
- Proxy info to be sent with request
- </summary>
- </member>
- <member name="T:RestSharp.HttpCookie">
- <summary>
- Representation of an HTTP cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Comment">
- <summary>
- Comment of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.CommentUri">
- <summary>
- Comment of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Discard">
- <summary>
- Indicates whether the cookie should be discarded at the end of the session
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Domain">
- <summary>
- Domain of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Expired">
- <summary>
- Indicates whether the cookie is expired
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Expires">
- <summary>
- Date and time that the cookie expires
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.HttpOnly">
- <summary>
- Indicates that this cookie should only be accessed by the server
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Name">
- <summary>
- Name of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Path">
- <summary>
- Path of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Port">
- <summary>
- Port of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Secure">
- <summary>
- Indicates that the cookie should only be sent over secure channels
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.TimeStamp">
- <summary>
- Date and time the cookie was created
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Value">
- <summary>
- Value of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.HttpCookie.Version">
- <summary>
- Version of the cookie
- </summary>
- </member>
- <member name="T:RestSharp.HttpFile">
- <summary>
- Container for HTTP file
- </summary>
- </member>
- <member name="P:RestSharp.HttpFile.ContentLength">
- <summary>
- The length of data to be sent
- </summary>
- </member>
- <member name="P:RestSharp.HttpFile.Writer">
- <summary>
- Provides raw data for file
- </summary>
- </member>
- <member name="P:RestSharp.HttpFile.FileName">
- <summary>
- Name of the file to use when uploading
- </summary>
- </member>
- <member name="P:RestSharp.HttpFile.ContentType">
- <summary>
- MIME content type of file
- </summary>
- </member>
- <member name="P:RestSharp.HttpFile.Name">
- <summary>
- Name of the parameter
- </summary>
- </member>
- <member name="T:RestSharp.HttpHeader">
- <summary>
- Representation of an HTTP header
- </summary>
- </member>
- <member name="P:RestSharp.HttpHeader.Name">
- <summary>
- Name of the header
- </summary>
- </member>
- <member name="P:RestSharp.HttpHeader.Value">
- <summary>
- Value of the header
- </summary>
- </member>
- <member name="T:RestSharp.HttpParameter">
- <summary>
- Representation of an HTTP parameter (QueryString or Form value)
- </summary>
- </member>
- <member name="P:RestSharp.HttpParameter.Name">
- <summary>
- Name of the parameter
- </summary>
- </member>
- <member name="P:RestSharp.HttpParameter.Value">
- <summary>
- Value of the parameter
- </summary>
- </member>
- <member name="T:RestSharp.HttpResponse">
- <summary>
- HTTP response data
- </summary>
- </member>
- <member name="T:RestSharp.IHttpResponse">
- <summary>
- HTTP response data
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.ContentType">
- <summary>
- MIME content type of response
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.ContentLength">
- <summary>
- Length in bytes of the response content
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.ContentEncoding">
- <summary>
- Encoding of the response content
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.Content">
- <summary>
- String representation of response content
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.StatusCode">
- <summary>
- HTTP response status code
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.StatusDescription">
- <summary>
- Description of HTTP status returned
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.RawBytes">
- <summary>
- Response content
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.ResponseUri">
- <summary>
- The URL that actually responded to the content (different from request if redirected)
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.Server">
- <summary>
- HttpWebResponse.Server
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.Headers">
- <summary>
- Headers returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.Cookies">
- <summary>
- Cookies returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.ResponseStatus">
- <summary>
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.ErrorMessage">
- <summary>
- Transport or other non-HTTP error generated while attempting request
- </summary>
- </member>
- <member name="P:RestSharp.IHttpResponse.ErrorException">
- <summary>
- Exception thrown when error is encountered.
- </summary>
- </member>
- <member name="M:RestSharp.HttpResponse.#ctor">
- <summary>
- Default constructor
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.ContentType">
- <summary>
- MIME content type of response
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.ContentLength">
- <summary>
- Length in bytes of the response content
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.ContentEncoding">
- <summary>
- Encoding of the response content
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.Content">
- <summary>
- Lazy-loaded string representation of response content
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.StatusCode">
- <summary>
- HTTP response status code
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.StatusDescription">
- <summary>
- Description of HTTP status returned
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.RawBytes">
- <summary>
- Response content
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.ResponseUri">
- <summary>
- The URL that actually responded to the content (different from request if redirected)
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.Server">
- <summary>
- HttpWebResponse.Server
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.Headers">
- <summary>
- Headers returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.Cookies">
- <summary>
- Cookies returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.ResponseStatus">
- <summary>
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.ErrorMessage">
- <summary>
- Transport or other non-HTTP error generated while attempting request
- </summary>
- </member>
- <member name="P:RestSharp.HttpResponse.ErrorException">
- <summary>
- Exception thrown when error is encountered.
- </summary>
- </member>
- <member name="T:RestSharp.IRestClient">
- <summary>
-
- </summary>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteAsync(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle})">
- <summary>
-
- </summary>
- <param name="request"></param>
- <param name="callback"></param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteAsync``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle})">
- <summary>
-
- </summary>
- <param name="request"></param>
- <param name="callback"></param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteAsyncGet(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a GET-style request and callback asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteAsyncPost(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a POST-style request and callback asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteAsyncGet``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a GET-style request and callback asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteAsyncPost``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a GET-style request and callback asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteTaskAsync``1(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes the request and callback asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteTaskAsync``1(RestSharp.IRestRequest)">
- <summary>
- Executes the request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteGetTaskAsync``1(RestSharp.IRestRequest)">
- <summary>
- Executes a GET-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteGetTaskAsync``1(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a GET-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecutePostTaskAsync``1(RestSharp.IRestRequest)">
- <summary>
- Executes a POST-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecutePostTaskAsync``1(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a POST-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteTaskAsync(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes the request and callback asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteTaskAsync(RestSharp.IRestRequest)">
- <summary>
- Executes the request asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteGetTaskAsync(RestSharp.IRestRequest)">
- <summary>
- Executes a GET-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecuteGetTaskAsync(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a GET-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecutePostTaskAsync(RestSharp.IRestRequest)">
- <summary>
- Executes a POST-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.IRestClient.ExecutePostTaskAsync(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a POST-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="P:RestSharp.IRestClient.CookieContainer">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.UserAgent">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.Timeout">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.ReadWriteTimeout">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.UseSynchronizationContext">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.Authenticator">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.BaseUrl">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.PreAuthenticate">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.DefaultParameters">
- <summary>
-
- </summary>
- </member>
- <member name="P:RestSharp.IRestClient.ClientCertificates">
- <summary>
- X509CertificateCollection to be sent with request
- </summary>
- </member>
- <member name="M:RestSharp.IRestRequest.AddFile(System.String,System.String)">
- <summary>
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="path">Full path to file to upload</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddFile(System.String,System.Byte[],System.String)">
- <summary>
- Adds the bytes to the Files collection with the specified file name
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="bytes">The file data</param>
- <param name="fileName">The file name to use for the uploaded file</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddFile(System.String,System.Byte[],System.String,System.String)">
- <summary>
- Adds the bytes to the Files collection with the specified file name and content type
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="bytes">The file data</param>
- <param name="fileName">The file name to use for the uploaded file</param>
- <param name="contentType">The MIME type of the file to upload</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddBody(System.Object,System.String)">
- <summary>
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
- </summary>
- <param name="obj">The object to serialize</param>
- <param name="xmlNamespace">The XML namespace to use when serializing</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddBody(System.Object)">
- <summary>
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
- </summary>
- <param name="obj">The object to serialize</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddJsonBody(System.Object)">
- <summary>
- Serializes obj to JSON format and adds it to the request body.
- </summary>
- <param name="obj">The object to serialize</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddXmlBody(System.Object)">
- <summary>
- Serializes obj to XML format and adds it to the request body.
- </summary>
- <param name="obj">The object to serialize</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddXmlBody(System.Object,System.String)">
- <summary>
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
- </summary>
- <param name="obj">The object to serialize</param>
- <param name="xmlNamespace">The XML namespace to use when serializing</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddObject(System.Object,System.String[])">
- <summary>
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
- </summary>
- <example>
- request.AddObject(product, "ProductId", "Price", ...);
- </example>
- <param name="obj">The object with properties to add as parameters</param>
- <param name="includedProperties">The names of the properties to include</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddObject(System.Object)">
- <summary>
- Calls AddParameter() for all public, readable properties of obj
- </summary>
- <param name="obj">The object with properties to add as parameters</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddParameter(RestSharp.Parameter)">
- <summary>
- Add the parameter to the request
- </summary>
- <param name="p">Parameter to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object)">
- <summary>
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- </summary>
- <param name="name">Name of the parameter</param>
- <param name="value">Value of the parameter</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddParameter(System.String,System.Object,RestSharp.ParameterType)">
- <summary>
- Adds a parameter to the request. There are five types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - Cookie: Adds the name/value pair to the HTTP request's Cookies collection
- - RequestBody: Used by AddBody() (not recommended to use directly)
- </summary>
- <param name="name">Name of the parameter</param>
- <param name="value">Value of the parameter</param>
- <param name="type">The type of parameter to add</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddHeader(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, HttpHeader) overload
- </summary>
- <param name="name">Name of the header to add</param>
- <param name="value">Value of the header to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddCookie(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, Cookie) overload
- </summary>
- <param name="name">Name of the cookie to add</param>
- <param name="value">Value of the cookie to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddUrlSegment(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, UrlSegment) overload
- </summary>
- <param name="name">Name of the segment to add</param>
- <param name="value">Value of the segment to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.IRestRequest.AddQueryParameter(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, QueryString) overload
- </summary>
- <param name="name">Name of the parameter to add</param>
- <param name="value">Value of the parameter to add</param>
- <returns></returns>
- </member>
- <member name="P:RestSharp.IRestRequest.AlwaysMultipartFormData">
- <summary>
- Always send a multipart/form-data request - even when no Files are present.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.JsonSerializer">
- <summary>
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.XmlSerializer">
- <summary>
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.ResponseWriter">
- <summary>
- Set this to write response to Stream rather than reading into memory.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.Parameters">
- <summary>
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.Files">
- <summary>
- Container of all the files to be uploaded with the request.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.Method">
- <summary>
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.Resource">
- <summary>
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
- </summary>
- <example>
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
- </example>
- </member>
- <member name="P:RestSharp.IRestRequest.RequestFormat">
- <summary>
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.RootElement">
- <summary>
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.DateFormat">
- <summary>
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.XmlNamespace">
- <summary>
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.Credentials">
- <summary>
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.Timeout">
- <summary>
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.ReadWriteTimeout">
- <summary>
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
- </summary>
- </member>
- <member name="P:RestSharp.IRestRequest.Attempts">
- <summary>
- How many attempts were made to send this Request?
- </summary>
- <remarks>
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
- </remarks>
- </member>
- <member name="P:RestSharp.IRestRequest.UseDefaultCredentials">
- <summary>
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
- </summary>
- </member>
- <member name="T:RestSharp.IRestResponse">
- <summary>
- Container for data sent back from API
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.Request">
- <summary>
- The RestRequest that was made to get this RestResponse
- </summary>
- <remarks>
- Mainly for debugging if ResponseStatus is not OK
- </remarks>
- </member>
- <member name="P:RestSharp.IRestResponse.ContentType">
- <summary>
- MIME content type of response
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.ContentLength">
- <summary>
- Length in bytes of the response content
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.ContentEncoding">
- <summary>
- Encoding of the response content
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.Content">
- <summary>
- String representation of response content
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.StatusCode">
- <summary>
- HTTP response status code
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.StatusDescription">
- <summary>
- Description of HTTP status returned
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.RawBytes">
- <summary>
- Response content
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.ResponseUri">
- <summary>
- The URL that actually responded to the content (different from request if redirected)
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.Server">
- <summary>
- HttpWebResponse.Server
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.Cookies">
- <summary>
- Cookies returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.Headers">
- <summary>
- Headers returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.ResponseStatus">
- <summary>
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.ErrorMessage">
- <summary>
- Transport or other non-HTTP error generated while attempting request
- </summary>
- </member>
- <member name="P:RestSharp.IRestResponse.ErrorException">
- <summary>
- Exceptions thrown during the request, if any.
- </summary>
- <remarks>Will contain only network transport or framework exceptions thrown during the request.
- HTTP protocol errors are handled by RestSharp and will not appear here.</remarks>
- </member>
- <member name="T:RestSharp.IRestResponse`1">
- <summary>
- Container for data sent back from API including deserialized data
- </summary>
- <typeparam name="T">Type of data to deserialize to</typeparam>
- </member>
- <member name="P:RestSharp.IRestResponse`1.Data">
- <summary>
- Deserialized entity data
- </summary>
- </member>
- <member name="T:RestSharp.Parameter">
- <summary>
- Parameter container for REST requests
- </summary>
- </member>
- <member name="M:RestSharp.Parameter.ToString">
- <summary>
- Return a human-readable representation of this parameter
- </summary>
- <returns>String</returns>
- </member>
- <member name="P:RestSharp.Parameter.Name">
- <summary>
- Name of the parameter
- </summary>
- </member>
- <member name="P:RestSharp.Parameter.Value">
- <summary>
- Value of the parameter
- </summary>
- </member>
- <member name="P:RestSharp.Parameter.Type">
- <summary>
- Type of the parameter
- </summary>
- </member>
- <member name="T:RestSharp.RestClient">
- <summary>
- Client to translate RestRequests into Http requests and process response result
- </summary>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteAsync(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle})">
- <summary>
- Executes the request and callback asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteAsyncGet(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a GET-style request and callback asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteAsyncPost(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse,RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a POST-style request and callback asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion providing access to the async handle.</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteAsync``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle})">
- <summary>
- Executes the request and callback asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteAsyncGet``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a GET-style request and callback asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteAsyncPost``1(RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0},RestSharp.RestRequestAsyncHandle},System.String)">
- <summary>
- Executes a POST-style request and callback asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion</param>
- <param name="httpMethod">The HTTP method to execute</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteGetTaskAsync``1(RestSharp.IRestRequest)">
- <summary>
- Executes a GET-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteGetTaskAsync``1(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a GET-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecutePostTaskAsync``1(RestSharp.IRestRequest)">
- <summary>
- Executes a POST-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecutePostTaskAsync``1(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a POST-style request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteTaskAsync``1(RestSharp.IRestRequest)">
- <summary>
- Executes the request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteTaskAsync``1(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes the request asynchronously, authenticating if needed
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteTaskAsync(RestSharp.IRestRequest)">
- <summary>
- Executes the request asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteGetTaskAsync(RestSharp.IRestRequest)">
- <summary>
- Executes a GET-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteGetTaskAsync(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a GET-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecutePostTaskAsync(RestSharp.IRestRequest)">
- <summary>
- Executes a POST-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecutePostTaskAsync(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes a POST-style asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.RestClient.ExecuteTaskAsync(RestSharp.IRestRequest,System.Threading.CancellationToken)">
- <summary>
- Executes the request asynchronously, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <param name="token">The cancellation token</param>
- </member>
- <member name="M:RestSharp.RestClient.#ctor">
- <summary>
- Default constructor that registers default content handlers
- </summary>
- </member>
- <member name="M:RestSharp.RestClient.#ctor(System.Uri)">
- <summary>
- Sets the BaseUrl property for requests made by this client instance
- </summary>
- <param name="baseUrl"></param>
- </member>
- <member name="M:RestSharp.RestClient.#ctor(System.String)">
- <summary>
- Sets the BaseUrl property for requests made by this client instance
- </summary>
- <param name="baseUrl"></param>
- </member>
- <member name="M:RestSharp.RestClient.AddHandler(System.String,RestSharp.Deserializers.IDeserializer)">
- <summary>
- Registers a content handler to process response content
- </summary>
- <param name="contentType">MIME content type of the response content</param>
- <param name="deserializer">Deserializer to use to process content</param>
- </member>
- <member name="M:RestSharp.RestClient.RemoveHandler(System.String)">
- <summary>
- Remove a content handler for the specified MIME content type
- </summary>
- <param name="contentType">MIME content type to remove</param>
- </member>
- <member name="M:RestSharp.RestClient.ClearHandlers">
- <summary>
- Remove all content handlers
- </summary>
- </member>
- <member name="M:RestSharp.RestClient.GetHandler(System.String)">
- <summary>
- Retrieve the handler for the specified MIME content type
- </summary>
- <param name="contentType">MIME content type to retrieve</param>
- <returns>IDeserializer instance</returns>
- </member>
- <member name="M:RestSharp.RestClient.BuildUri(RestSharp.IRestRequest)">
- <summary>
- Assembles URL to call based on parameters, method and resource
- </summary>
- <param name="request">RestRequest to execute</param>
- <returns>Assembled System.Uri</returns>
- </member>
- <member name="M:RestSharp.RestClient.DownloadData(RestSharp.IRestRequest)">
- <summary>
- Executes the specified request and downloads the response data
- </summary>
- <param name="request">Request to execute</param>
- <returns>Response data</returns>
- </member>
- <member name="M:RestSharp.RestClient.Execute(RestSharp.IRestRequest)">
- <summary>
- Executes the request and returns a response, authenticating if needed
- </summary>
- <param name="request">Request to be executed</param>
- <returns>RestResponse</returns>
- </member>
- <member name="M:RestSharp.RestClient.Execute``1(RestSharp.IRestRequest)">
- <summary>
- Executes the specified request and deserializes the response content using the appropriate content handler
- </summary>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to execute</param>
- <returns>RestResponse[[T]] with deserialized data in Data property</returns>
- </member>
- <member name="P:RestSharp.RestClient.DefaultParameters">
- <summary>
- Parameters included with every request made with this instance of RestClient
- If specified in both client and request, the request wins
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.MaxRedirects">
- <summary>
- Maximum number of redirects to follow if FollowRedirects is true
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.ClientCertificates">
- <summary>
- X509CertificateCollection to be sent with request
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.Proxy">
- <summary>
- Proxy to use for requests made by this client instance.
- Passed on to underlying WebRequest if set.
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.FollowRedirects">
- <summary>
- Default is true. Determine whether or not requests that result in
- HTTP status codes of 3xx should follow returned redirect
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.CookieContainer">
- <summary>
- The CookieContainer used for requests made by this client instance
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.UserAgent">
- <summary>
- UserAgent to use for requests made by this client instance
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.Timeout">
- <summary>
- Timeout in milliseconds to use for requests made by this client instance
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.ReadWriteTimeout">
- <summary>
- The number of milliseconds before the writing or reading times out.
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.UseSynchronizationContext">
- <summary>
- Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.Authenticator">
- <summary>
- Authenticator to use for requests made by this client instance
- </summary>
- </member>
- <member name="P:RestSharp.RestClient.BaseUrl">
- <summary>
- Combined with Request.Resource to construct URL for request
- Should include scheme and domain without trailing slash.
- </summary>
- <example>
- client.BaseUrl = new Uri("http://example.com");
- </example>
- </member>
- <member name="M:RestSharp.RestClientExtensions.ExecuteAsync(RestSharp.IRestClient,RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse})">
- <summary>
- Executes the request and callback asynchronously, authenticating if needed
- </summary>
- <param name="client">The IRestClient this method extends</param>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion</param>
- </member>
- <member name="M:RestSharp.RestClientExtensions.ExecuteAsync``1(RestSharp.IRestClient,RestSharp.IRestRequest,System.Action{RestSharp.IRestResponse{``0}})">
- <summary>
- Executes the request and callback asynchronously, authenticating if needed
- </summary>
- <param name="client">The IRestClient this method extends</param>
- <typeparam name="T">Target deserialization type</typeparam>
- <param name="request">Request to be executed</param>
- <param name="callback">Callback function to be executed upon completion providing access to the async handle</param>
- </member>
- <member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,RestSharp.Parameter)">
- <summary>
- Add a parameter to use on every request made with this client instance
- </summary>
- <param name="restClient">The IRestClient instance</param>
- <param name="p">Parameter to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestClientExtensions.RemoveDefaultParameter(RestSharp.IRestClient,System.String)">
- <summary>
- Removes a parameter from the default parameters that are used on every request made with this client instance
- </summary>
- <param name="restClient">The IRestClient instance</param>
- <param name="name">The name of the parameter that needs to be removed</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,System.String,System.Object)">
- <summary>
- Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- Used on every request made by this client instance
- </summary>
- <param name="restClient">The IRestClient instance</param>
- <param name="name">Name of the parameter</param>
- <param name="value">Value of the parameter</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestClientExtensions.AddDefaultParameter(RestSharp.IRestClient,System.String,System.Object,RestSharp.ParameterType)">
- <summary>
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
- </summary>
- <param name="restClient">The IRestClient instance</param>
- <param name="name">Name of the parameter</param>
- <param name="value">Value of the parameter</param>
- <param name="type">The type of parameter to add</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestClientExtensions.AddDefaultHeader(RestSharp.IRestClient,System.String,System.String)">
- <summary>
- Shortcut to AddDefaultParameter(name, value, HttpHeader) overload
- </summary>
- <param name="restClient">The IRestClient instance</param>
- <param name="name">Name of the header to add</param>
- <param name="value">Value of the header to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestClientExtensions.AddDefaultUrlSegment(RestSharp.IRestClient,System.String,System.String)">
- <summary>
- Shortcut to AddDefaultParameter(name, value, UrlSegment) overload
- </summary>
- <param name="restClient">The IRestClient instance</param>
- <param name="name">Name of the segment to add</param>
- <param name="value">Value of the segment to add</param>
- <returns></returns>
- </member>
- <member name="T:RestSharp.RestRequest">
- <summary>
- Container for data used to make requests
- </summary>
- </member>
- <member name="M:RestSharp.RestRequest.#ctor">
- <summary>
- Default constructor
- </summary>
- </member>
- <member name="M:RestSharp.RestRequest.#ctor(RestSharp.Method)">
- <summary>
- Sets Method property to value of method
- </summary>
- <param name="method">Method to use for this request</param>
- </member>
- <member name="M:RestSharp.RestRequest.#ctor(System.String)">
- <summary>
- Sets Resource property
- </summary>
- <param name="resource">Resource to use for this request</param>
- </member>
- <member name="M:RestSharp.RestRequest.#ctor(System.String,RestSharp.Method)">
- <summary>
- Sets Resource and Method properties
- </summary>
- <param name="resource">Resource to use for this request</param>
- <param name="method">Method to use for this request</param>
- </member>
- <member name="M:RestSharp.RestRequest.#ctor(System.Uri)">
- <summary>
- Sets Resource property
- </summary>
- <param name="resource">Resource to use for this request</param>
- </member>
- <member name="M:RestSharp.RestRequest.#ctor(System.Uri,RestSharp.Method)">
- <summary>
- Sets Resource and Method properties
- </summary>
- <param name="resource">Resource to use for this request</param>
- <param name="method">Method to use for this request</param>
- </member>
- <member name="M:RestSharp.RestRequest.AddFile(System.String,System.String)">
- <summary>
- Adds a file to the Files collection to be included with a POST or PUT request
- (other methods do not support file uploads).
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="path">Full path to file to upload</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddFile(System.String,System.Byte[],System.String)">
- <summary>
- Adds the bytes to the Files collection with the specified file name
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="bytes">The file data</param>
- <param name="fileName">The file name to use for the uploaded file</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddFile(System.String,System.Byte[],System.String,System.String)">
- <summary>
- Adds the bytes to the Files collection with the specified file name and content type
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="bytes">The file data</param>
- <param name="fileName">The file name to use for the uploaded file</param>
- <param name="contentType">The MIME type of the file to upload</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddFile(System.String,System.Action{System.IO.Stream},System.String)">
- <summary>
- Adds the bytes to the Files collection with the specified file name and content type
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="writer">A function that writes directly to the stream. Should NOT close the stream.</param>
- <param name="fileName">The file name to use for the uploaded file</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddFile(System.String,System.Action{System.IO.Stream},System.String,System.String)">
- <summary>
- Adds the bytes to the Files collection with the specified file name and content type
- </summary>
- <param name="name">The parameter name to use in the request</param>
- <param name="writer">A function that writes directly to the stream. Should NOT close the stream.</param>
- <param name="fileName">The file name to use for the uploaded file</param>
- <param name="contentType">The MIME type of the file to upload</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddBody(System.Object,System.String)">
- <summary>
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
- </summary>
- <param name="obj">The object to serialize</param>
- <param name="xmlNamespace">The XML namespace to use when serializing</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddBody(System.Object)">
- <summary>
- Serializes obj to data format specified by RequestFormat and adds it to the request body.
- The default format is XML. Change RequestFormat if you wish to use a different serialization format.
- </summary>
- <param name="obj">The object to serialize</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddJsonBody(System.Object)">
- <summary>
- Serializes obj to JSON format and adds it to the request body.
- </summary>
- <param name="obj">The object to serialize</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddXmlBody(System.Object)">
- <summary>
- Serializes obj to XML format and adds it to the request body.
- </summary>
- <param name="obj">The object to serialize</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddXmlBody(System.Object,System.String)">
- <summary>
- Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer
- Serializes obj to XML format and passes xmlNamespace then adds it to the request body.
- </summary>
- <param name="obj">The object to serialize</param>
- <param name="xmlNamespace">The XML namespace to use when serializing</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddObject(System.Object,System.String[])">
- <summary>
- Calls AddParameter() for all public, readable properties specified in the includedProperties list
- </summary>
- <example>
- request.AddObject(product, "ProductId", "Price", ...);
- </example>
- <param name="obj">The object with properties to add as parameters</param>
- <param name="includedProperties">The names of the properties to include</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddObject(System.Object)">
- <summary>
- Calls AddParameter() for all public, readable properties of obj
- </summary>
- <param name="obj">The object with properties to add as parameters</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddParameter(RestSharp.Parameter)">
- <summary>
- Add the parameter to the request
- </summary>
- <param name="p">Parameter to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object)">
- <summary>
- Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT)
- </summary>
- <param name="name">Name of the parameter</param>
- <param name="value">Value of the parameter</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddParameter(System.String,System.Object,RestSharp.ParameterType)">
- <summary>
- Adds a parameter to the request. There are four types of parameters:
- - GetOrPost: Either a QueryString value or encoded form value based on method
- - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection
- - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId}
- - RequestBody: Used by AddBody() (not recommended to use directly)
- </summary>
- <param name="name">Name of the parameter</param>
- <param name="value">Value of the parameter</param>
- <param name="type">The type of parameter to add</param>
- <returns>This request</returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddHeader(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, HttpHeader) overload
- </summary>
- <param name="name">Name of the header to add</param>
- <param name="value">Value of the header to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddCookie(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, Cookie) overload
- </summary>
- <param name="name">Name of the cookie to add</param>
- <param name="value">Value of the cookie to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddUrlSegment(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, UrlSegment) overload
- </summary>
- <param name="name">Name of the segment to add</param>
- <param name="value">Value of the segment to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestRequest.AddQueryParameter(System.String,System.String)">
- <summary>
- Shortcut to AddParameter(name, value, QueryString) overload
- </summary>
- <param name="name">Name of the parameter to add</param>
- <param name="value">Value of the parameter to add</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.RestRequest.IncreaseNumAttempts">
- <summary>
- Internal Method so that RestClient can increase the number of attempts
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.AlwaysMultipartFormData">
- <summary>
- Always send a multipart/form-data request - even when no Files are present.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.JsonSerializer">
- <summary>
- Serializer to use when writing JSON request bodies. Used if RequestFormat is Json.
- By default the included JsonSerializer is used (currently using JSON.NET default serialization).
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.XmlSerializer">
- <summary>
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default the included XmlSerializer is used.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.ResponseWriter">
- <summary>
- Set this to write response to Stream rather than reading into memory.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.UseDefaultCredentials">
- <summary>
- Determine whether or not the "default credentials" (e.g. the user account under which the current process is running)
- will be sent along to the server. The default is false.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.Parameters">
- <summary>
- Container of all HTTP parameters to be passed with the request.
- See AddParameter() for explanation of the types of parameters that can be passed
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.Files">
- <summary>
- Container of all the files to be uploaded with the request.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.Method">
- <summary>
- Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS
- Default is GET
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.Resource">
- <summary>
- The Resource URL to make the request against.
- Tokens are substituted with UrlSegment parameters and match by name.
- Should not include the scheme or domain. Do not include leading slash.
- Combined with RestClient.BaseUrl to assemble final URL:
- {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com)
- </summary>
- <example>
- // example for url token replacement
- request.Resource = "Products/{ProductId}";
- request.AddParameter("ProductId", 123, ParameterType.UrlSegment);
- </example>
- </member>
- <member name="P:RestSharp.RestRequest.RequestFormat">
- <summary>
- Serializer to use when writing XML request bodies. Used if RequestFormat is Xml.
- By default XmlSerializer is used.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.RootElement">
- <summary>
- Used by the default deserializers to determine where to start deserializing from.
- Can be used to skip container or root elements that do not have corresponding deserialzation targets.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.OnBeforeDeserialization">
- <summary>
- A function to run prior to deserializing starting (e.g. change settings if error encountered)
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.DateFormat">
- <summary>
- Used by the default deserializers to explicitly set which date format string to use when parsing dates.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.XmlNamespace">
- <summary>
- Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.Credentials">
- <summary>
- In general you would not need to set this directly. Used by the NtlmAuthenticator.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.UserState">
- <summary>
- Gets or sets a user-defined state object that contains information about a request and which can be later
- retrieved when the request completes.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.Timeout">
- <summary>
- Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.ReadWriteTimeout">
- <summary>
- The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient.
- </summary>
- </member>
- <member name="P:RestSharp.RestRequest.Attempts">
- <summary>
- How many attempts were made to send this Request?
- </summary>
- <remarks>
- This Number is incremented each time the RestClient sends the request.
- Useful when using Asynchronous Execution with Callbacks
- </remarks>
- </member>
- <member name="T:RestSharp.RestResponseBase">
- <summary>
- Base class for common properties shared by RestResponse and RestResponse[[T]]
- </summary>
- </member>
- <member name="M:RestSharp.RestResponseBase.#ctor">
- <summary>
- Default constructor
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.Request">
- <summary>
- The RestRequest that was made to get this RestResponse
- </summary>
- <remarks>
- Mainly for debugging if ResponseStatus is not OK
- </remarks>
- </member>
- <member name="P:RestSharp.RestResponseBase.ContentType">
- <summary>
- MIME content type of response
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.ContentLength">
- <summary>
- Length in bytes of the response content
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.ContentEncoding">
- <summary>
- Encoding of the response content
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.Content">
- <summary>
- String representation of response content
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.StatusCode">
- <summary>
- HTTP response status code
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.StatusDescription">
- <summary>
- Description of HTTP status returned
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.RawBytes">
- <summary>
- Response content
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.ResponseUri">
- <summary>
- The URL that actually responded to the content (different from request if redirected)
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.Server">
- <summary>
- HttpWebResponse.Server
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.Cookies">
- <summary>
- Cookies returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.Headers">
- <summary>
- Headers returned by server with the response
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.ResponseStatus">
- <summary>
- Status of the request. Will return Error for transport errors.
- HTTP errors will still return ResponseStatus.Completed, check StatusCode instead
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.ErrorMessage">
- <summary>
- Transport or other non-HTTP error generated while attempting request
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseBase.ErrorException">
- <summary>
- The exception thrown during the request, if any
- </summary>
- </member>
- <member name="T:RestSharp.RestResponse`1">
- <summary>
- Container for data sent back from API including deserialized data
- </summary>
- <typeparam name="T">Type of data to deserialize to</typeparam>
- </member>
- <member name="P:RestSharp.RestResponse`1.Data">
- <summary>
- Deserialized entity data
- </summary>
- </member>
- <member name="T:RestSharp.RestResponse">
- <summary>
- Container for data sent back from API
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Comment">
- <summary>
- Comment of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.CommentUri">
- <summary>
- Comment of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Discard">
- <summary>
- Indicates whether the cookie should be discarded at the end of the session
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Domain">
- <summary>
- Domain of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Expired">
- <summary>
- Indicates whether the cookie is expired
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Expires">
- <summary>
- Date and time that the cookie expires
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.HttpOnly">
- <summary>
- Indicates that this cookie should only be accessed by the server
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Name">
- <summary>
- Name of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Path">
- <summary>
- Path of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Port">
- <summary>
- Port of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Secure">
- <summary>
- Indicates that the cookie should only be sent over secure channels
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.TimeStamp">
- <summary>
- Date and time the cookie was created
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Value">
- <summary>
- Value of the cookie
- </summary>
- </member>
- <member name="P:RestSharp.RestResponseCookie.Version">
- <summary>
- Version of the cookie
- </summary>
- </member>
- <member name="T:RestSharp.Serializers.DotNetXmlSerializer">
- <summary>
- Wrapper for System.Xml.Serialization.XmlSerializer.
- </summary>
- </member>
- <member name="M:RestSharp.Serializers.DotNetXmlSerializer.#ctor">
- <summary>
- Default constructor, does not specify namespace
- </summary>
- </member>
- <member name="M:RestSharp.Serializers.DotNetXmlSerializer.#ctor(System.String)">
- <summary>
- Specify the namespaced to be used when serializing
- </summary>
- <param name="namespace">XML namespace</param>
- </member>
- <member name="M:RestSharp.Serializers.DotNetXmlSerializer.Serialize(System.Object)">
- <summary>
- Serialize the object as XML
- </summary>
- <param name="obj">Object to serialize</param>
- <returns>XML as string</returns>
- </member>
- <member name="P:RestSharp.Serializers.DotNetXmlSerializer.RootElement">
- <summary>
- Name of the root element to use when serializing
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.DotNetXmlSerializer.Namespace">
- <summary>
- XML namespace to use when serializing
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.DotNetXmlSerializer.DateFormat">
- <summary>
- Format string to use when serializing dates
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.DotNetXmlSerializer.ContentType">
- <summary>
- Content type for serialized content
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.DotNetXmlSerializer.Encoding">
- <summary>
- Encoding for serialized content
- </summary>
- </member>
- <member name="T:RestSharp.Serializers.DotNetXmlSerializer.EncodingStringWriter">
- <summary>
- Need to subclass StringWriter in order to override Encoding
- </summary>
- </member>
- <member name="T:RestSharp.Serializers.JsonSerializer">
- <summary>
- Default JSON serializer for request bodies
- Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
- </summary>
- </member>
- <member name="M:RestSharp.Serializers.JsonSerializer.#ctor">
- <summary>
- Default serializer
- </summary>
- </member>
- <member name="M:RestSharp.Serializers.JsonSerializer.Serialize(System.Object)">
- <summary>
- Serialize the object as JSON
- </summary>
- <param name="obj">Object to serialize</param>
- <returns>JSON as String</returns>
- </member>
- <member name="P:RestSharp.Serializers.JsonSerializer.DateFormat">
- <summary>
- Unused for JSON Serialization
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.JsonSerializer.RootElement">
- <summary>
- Unused for JSON Serialization
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.JsonSerializer.Namespace">
- <summary>
- Unused for JSON Serialization
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.JsonSerializer.ContentType">
- <summary>
- Content type for serialized content
- </summary>
- </member>
- <member name="T:RestSharp.Serializers.SerializeAsAttribute">
- <summary>
- Allows control how class and property names and values are serialized by XmlSerializer
- Currently not supported with the JsonSerializer
- When specified at the property level the class-level specification is overridden
- </summary>
- </member>
- <member name="M:RestSharp.Serializers.SerializeAsAttribute.TransformName(System.String)">
- <summary>
- Called by the attribute when NameStyle is speficied
- </summary>
- <param name="input">The string to transform</param>
- <returns>String</returns>
- </member>
- <member name="P:RestSharp.Serializers.SerializeAsAttribute.Name">
- <summary>
- The name to use for the serialized element
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.SerializeAsAttribute.Attribute">
- <summary>
- Sets the value to be serialized as an Attribute instead of an Element
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.SerializeAsAttribute.Culture">
- <summary>
- The culture to use when serializing
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.SerializeAsAttribute.NameStyle">
- <summary>
- Transforms the casing of the name based on the selected value.
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.SerializeAsAttribute.Index">
- <summary>
- The order to serialize the element. Default is int.MaxValue.
- </summary>
- </member>
- <member name="T:RestSharp.Serializers.NameStyle">
- <summary>
- Options for transforming casing of element names
- </summary>
- </member>
- <member name="T:RestSharp.Serializers.XmlSerializer">
- <summary>
- Default XML Serializer
- </summary>
- </member>
- <member name="M:RestSharp.Serializers.XmlSerializer.#ctor">
- <summary>
- Default constructor, does not specify namespace
- </summary>
- </member>
- <member name="M:RestSharp.Serializers.XmlSerializer.#ctor(System.String)">
- <summary>
- Specify the namespaced to be used when serializing
- </summary>
- <param name="namespace">XML namespace</param>
- </member>
- <member name="M:RestSharp.Serializers.XmlSerializer.Serialize(System.Object)">
- <summary>
- Serialize the object as XML
- </summary>
- <param name="obj">Object to serialize</param>
- <returns>XML as string</returns>
- </member>
- <member name="M:RestSharp.Serializers.XmlSerializer.IsNumeric(System.Object)">
- <summary>
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.XmlSerializer.RootElement">
- <summary>
- Name of the root element to use when serializing
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.XmlSerializer.Namespace">
- <summary>
- XML namespace to use when serializing
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.XmlSerializer.DateFormat">
- <summary>
- Format string to use when serializing dates
- </summary>
- </member>
- <member name="P:RestSharp.Serializers.XmlSerializer.ContentType">
- <summary>
- Content type for serialized content
- </summary>
- </member>
- <member name="T:RestSharp.Validation.Require">
- <summary>
- Helper methods for validating required values
- </summary>
- </member>
- <member name="M:RestSharp.Validation.Require.Argument(System.String,System.Object)">
- <summary>
- Require a parameter to not be null
- </summary>
- <param name="argumentName">Name of the parameter</param>
- <param name="argumentValue">Value of the parameter</param>
- </member>
- <member name="T:RestSharp.JsonArray">
- <summary>
- Represents the json array.
- </summary>
- </member>
- <member name="M:RestSharp.JsonArray.#ctor">
- <summary>
- Initializes a new instance of the <see cref="T:RestSharp.JsonArray"/> class.
- </summary>
- </member>
- <member name="M:RestSharp.JsonArray.#ctor(System.Int32)">
- <summary>
- Initializes a new instance of the <see cref="T:RestSharp.JsonArray"/> class.
- </summary>
- <param name="capacity">The capacity of the json array.</param>
- </member>
- <member name="M:RestSharp.JsonArray.ToString">
- <summary>
- The json representation of the array.
- </summary>
- <returns>The json representation of the array.</returns>
- </member>
- <member name="T:RestSharp.JsonObject">
- <summary>
- Represents the json object.
- </summary>
- </member>
- <member name="F:RestSharp.JsonObject._members">
- <summary>
- The internal member dictionary.
- </summary>
- </member>
- <member name="M:RestSharp.JsonObject.#ctor">
- <summary>
- Initializes a new instance of <see cref="T:RestSharp.JsonObject"/>.
- </summary>
- </member>
- <member name="M:RestSharp.JsonObject.#ctor(System.Collections.Generic.IEqualityComparer{System.String})">
- <summary>
- Initializes a new instance of <see cref="T:RestSharp.JsonObject"/>.
- </summary>
- <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> implementation to use when comparing keys, or null to use the default <see cref="T:System.Collections.Generic.EqualityComparer`1"/> for the type of the key.</param>
- </member>
- <member name="M:RestSharp.JsonObject.Add(System.String,System.Object)">
- <summary>
- Adds the specified key.
- </summary>
- <param name="key">The key.</param>
- <param name="value">The value.</param>
- </member>
- <member name="M:RestSharp.JsonObject.ContainsKey(System.String)">
- <summary>
- Determines whether the specified key contains key.
- </summary>
- <param name="key">The key.</param>
- <returns>
- <c>true</c> if the specified key contains key; otherwise, <c>false</c>.
- </returns>
- </member>
- <member name="M:RestSharp.JsonObject.Remove(System.String)">
- <summary>
- Removes the specified key.
- </summary>
- <param name="key">The key.</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.JsonObject.TryGetValue(System.String,System.Object@)">
- <summary>
- Tries the get value.
- </summary>
- <param name="key">The key.</param>
- <param name="value">The value.</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.JsonObject.Add(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
- <summary>
- Adds the specified item.
- </summary>
- <param name="item">The item.</param>
- </member>
- <member name="M:RestSharp.JsonObject.Clear">
- <summary>
- Clears this instance.
- </summary>
- </member>
- <member name="M:RestSharp.JsonObject.Contains(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
- <summary>
- Determines whether [contains] [the specified item].
- </summary>
- <param name="item">The item.</param>
- <returns>
- <c>true</c> if [contains] [the specified item]; otherwise, <c>false</c>.
- </returns>
- </member>
- <member name="M:RestSharp.JsonObject.CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Object}[],System.Int32)">
- <summary>
- Copies to.
- </summary>
- <param name="array">The array.</param>
- <param name="arrayIndex">Index of the array.</param>
- </member>
- <member name="M:RestSharp.JsonObject.Remove(System.Collections.Generic.KeyValuePair{System.String,System.Object})">
- <summary>
- Removes the specified item.
- </summary>
- <param name="item">The item.</param>
- <returns></returns>
- </member>
- <member name="M:RestSharp.JsonObject.GetEnumerator">
- <summary>
- Gets the enumerator.
- </summary>
- <returns></returns>
- </member>
- <member name="M:RestSharp.JsonObject.System#Collections#IEnumerable#GetEnumerator">
- <summary>
- Returns an enumerator that iterates through a collection.
- </summary>
- <returns>
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
- </returns>
- </member>
- <member name="M:RestSharp.JsonObject.ToString">
- <summary>
- Returns a json <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
- </summary>
- <returns>
- A json <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
- </returns>
- </member>
- <member name="P:RestSharp.JsonObject.Item(System.Int32)">
- <summary>
- Gets the <see cref="T:System.Object"/> at the specified index.
- </summary>
- <value></value>
- </member>
- <member name="P:RestSharp.JsonObject.Keys">
- <summary>
- Gets the keys.
- </summary>
- <value>The keys.</value>
- </member>
- <member name="P:RestSharp.JsonObject.Values">
- <summary>
- Gets the values.
- </summary>
- <value>The values.</value>
- </member>
- <member name="P:RestSharp.JsonObject.Item(System.String)">
- <summary>
- Gets or sets the <see cref="T:System.Object"/> with the specified key.
- </summary>
- <value></value>
- </member>
- <member name="P:RestSharp.JsonObject.Count">
- <summary>
- Gets the count.
- </summary>
- <value>The count.</value>
- </member>
- <member name="P:RestSharp.JsonObject.IsReadOnly">
- <summary>
- Gets a value indicating whether this instance is read only.
- </summary>
- <value>
- <c>true</c> if this instance is read only; otherwise, <c>false</c>.
- </value>
- </member>
- <member name="T:RestSharp.SimpleJson">
- <summary>
- This class encodes and decodes JSON strings.
- Spec. details, see http://www.json.org/
-
- JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>).
- All numbers are parsed to doubles.
- </summary>
- </member>
- <member name="M:RestSharp.SimpleJson.DeserializeObject(System.String)">
- <summary>
- Parses the string json into a value
- </summary>
- <param name="json">A JSON string.</param>
- <returns>An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false</returns>
- </member>
- <member name="M:RestSharp.SimpleJson.TryDeserializeObject(System.String,System.Object@)">
- <summary>
- Try parsing the json string into a value.
- </summary>
- <param name="json">
- A JSON string.
- </param>
- <param name="obj">
- The object.
- </param>
- <returns>
- Returns true if successfull otherwise false.
- </returns>
- </member>
- <member name="M:RestSharp.SimpleJson.SerializeObject(System.Object,RestSharp.IJsonSerializerStrategy)">
- <summary>
- Converts a IDictionary<string,object> / IList<object> object into a JSON string
- </summary>
- <param name="json">A IDictionary<string,object> / IList<object></param>
- <param name="jsonSerializerStrategy">Serializer strategy to use</param>
- <returns>A JSON encoded string, or null if object 'json' is not serializable</returns>
- </member>
- <member name="M:RestSharp.SimpleJson.IsNumeric(System.Object)">
- <summary>
- Determines if a given object is numeric in any way
- (can be integer, double, null, etc).
- </summary>
- </member>
- <member name="T:RestSharp.Validation.Validate">
- <summary>
- Helper methods for validating values
- </summary>
- </member>
- <member name="M:RestSharp.Validation.Validate.IsBetween(System.Int32,System.Int32,System.Int32)">
- <summary>
- Validate an integer value is between the specified values (exclusive of min/max)
- </summary>
- <param name="value">Value to validate</param>
- <param name="min">Exclusive minimum value</param>
- <param name="max">Exclusive maximum value</param>
- </member>
- <member name="M:RestSharp.Validation.Validate.IsValidLength(System.String,System.Int32)">
- <summary>
- Validate a string length
- </summary>
- <param name="value">String to be validated</param>
- <param name="maxSize">Maximum length of the string</param>
- </member>
- </members>
- </doc>
|