Skip to content

Commit 5a4879c

Browse files
committed
Using HttpRequest abstraction in LanguageWorkerChannel
1 parent 9047813 commit 5a4879c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WebJobs.Script/Rpc/LanguageWorkerChannel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using System.Reactive.Linq;
1111
using System.Threading.Tasks;
1212
using System.Threading.Tasks.Dataflow;
13-
using Microsoft.AspNetCore.Http.Internal;
13+
using Microsoft.AspNetCore.Http;
1414
using Microsoft.Azure.WebJobs.Script.Description;
1515
using Microsoft.Azure.WebJobs.Script.Diagnostics;
1616
using Microsoft.Azure.WebJobs.Script.Eventing;
@@ -311,7 +311,7 @@ internal void SendInvocationRequest(ScriptInvocationContext context)
311311
{
312312
if (pair.Value != null)
313313
{
314-
if ((pair.Value is DefaultHttpRequest) && IsTriggerMetadataPopulatedByWorker())
314+
if ((pair.Value is HttpRequest) && IsTriggerMetadataPopulatedByWorker())
315315
{
316316
continue;
317317
}

0 commit comments

Comments
 (0)