Skip to content

How to use response.RedirectUrl in ProcessRequestAsync? #822

@rover886

Description

@rover886

I am using cefSharp version 37.0.0 in windows application. I have written custom scheme handler from which I want to redirect to an particular url for that I have written response.RedirectUrl in ProcessRequestAsync() but it's not working.

public bool ProcessRequestAsync(IRequest request, ISchemeHandlerResponse response, OnRequestCompletedHandler requestCompletedCallback)
{
response.RedirectUrl = "www.google.com";           
     return false;          
}

Is there any thing I am missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions