Skip to content

Instantly share code, notes, and snippets.

@Reizinixc
Created May 12, 2023 16:31
Show Gist options
  • Save Reizinixc/096e18db8552b9482d7d988482715a87 to your computer and use it in GitHub Desktop.
Save Reizinixc/096e18db8552b9482d7d988482715a87 to your computer and use it in GitHub Desktop.
ZnBivalentWriteStream did not understand #print
printAuthorityOn: stream
self hasUsername ifTrue: [
self encode: self username on: stream.
self hasPassword ifTrue: [
stream nextPut: $:.
self encode: self password on: stream ].
stream nextPut: $@ ].
self hasHost ifTrue: [
self encode: self host on: stream ].
self hasPort ifTrue: [
stream nextPut: $:;
nextPutAll: self port asString ].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment