Its a bit strange. I've done some testing and I'm not getting the same problem.
At a guess you have response buffering set to false in ASP but FF is not comprehending the resulting chunked encoding. Why your copy of FF isn't coping I don't know since it works fine on my 3.5 version with or without chunked encoding.
Can you improve the quality the reproduction details in your question. I'm using the this ASP page as a test:-
<%
If Request.QueryString("function") = "post" Then
Response.Buffer = False
Response.Write Request.Form("obs")
Response.End
End If
%>
<html>
<head>
</head>
<body>
<form action="test.asp?function=post" method="post">
<textarea name="obs" id="obs" cols="75" rows="10">
<!-- Loads of text here -->
</textarea >
<input type="submit" value="go" />
</form>
</body>
</html>
In order to truly call a hub method, as you call it, you have to be connected to it, and call over that connection. By calling something different (your API) you cannot do that kind of call, and therefore you have to resort to the server initiated broadcasting capabilities, which by nature cannot know about what the Caller
is because there's no SignalR's caller.
That said, if your client calling the API (no matter if it's Javascript or C#) is already connected to the hub when performing the call, you can always decorate your call towards the API with the connectionId
of your hub's connection (by query string, by headers, ...). If your API receives that information, it can then simulate the Caller
API with
Clients.Client(connectionId)
and it can do the same for Others
with
Clients.AllExcept(connectionId)
over a IHubContext
instance. Check the official docs.
You can then follow the suggestion from DDan about encapsulating the IHubContext
usage in a convenient centralized way, or even restructure it a bit to make it easily DI-compliant.
Best Answer
Override the font size of mat-icon using either of the options. (I changed md- to mat- for the newest AM version)
For Angular Material 8+, add the following in the components stylesheet:
Demo
For previous versions, add ::ng-deep to reach that class deep in the host. The width and the height should be also set to adjust the backdrop size proportionally.
HTML:
CSS
Check out the Demo
Or, if you avoid `::ng-deep`, use `ViewEncapsulation.None` (but use sparingly):
Class:
Then you can style directly from the component stylesheet.
CSS:
Demo
Or style it from the main stylesheet, styles.css:
styles.css
Demo
And last, but not the least solution, styling can be done inline:
HTML:
Demo