Skip to content

CSharp RestSharp snippets use a type IRestResponse which is not valid #367

Description

@michaelgwelch

Perhaps this is related to changes in the library but this line of code

IRestResponseresponse=client.Execute(request);

no longer compiles with latest version of RestSharp.

I recommend just changing to

varresponse=client.Execute(request);

and will submit a PR

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions